Explicitly defining PowerShell resources doesn't allow for delete
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 45/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- powershell
- 領域
- devops
調査の方向性
Microsoft.DSC/PowerShell アダプターとその implementsPreTest の動作から始め、明示的に定義された PowerShell リソースが _exist: false をどのように処理するかを追跡します。issue の構成ドキュメントを再現してください。完了の条件は、DatabricksDsc/DatabricksAccountServicePrincipal リソースが削除をサポートしていないと報告するのではなく、service principal を削除することです。
索引モデルが issue の本文から書いたものです。
説明
Prerequisites
- Write a descriptive title.
- Make sure you are able to repro it on the latest version
- Search the existing issues.
Summary
After the following pull request, I can create a configuration document like:
$schema: https://aka.ms/dsc/schemas/v3/bundled/config/document.json
resources:
- name: Basic workspace group
type: DatabricksDsc/DatabricksAccountServicePrincipal
properties:
Name: 'my-user'
_exist: false
However, trying to execute the above throws an error: Resource 'DatabricksDsc/DatabricksAccountServicePrincipal' does not support deleteand does not handle_exist as false.
Whenever I wrap it around Microsoft.DSC/PowerShell , this doesn't happen because the adapter has the implementsPreTest set.
Steps to reproduce
Run the above configuration document
Expected behavior
The resource runs and deletes the service principal
Actual behavior
Resource 'DatabricksDsc/DatabricksAccountServicePrincipal' does not support `delete` and does not handle `_exist` as false
Error details
Environment data
Name Value
---- -----
PSVersion 7.5.4
PSEdition Core
GitCommitId 7.5.4
OS Microsoft Windows 10.0.26100
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
Version
dsc 3.2.0-preview.8
Visuals
No response
- 主要言語
- Rust
- スター
- 536
- フォーク
- 76
- 平均マージ
- 1日 11時間
- マージ済み PR(30日)
- 15
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
PowerShell/DSC のほかの issue
-
Issue-Enhancement Needs Triage
難易度 4/5 3〜5日 初心者へのやさしさ 30/100
PowerShell/DSC#1750 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
Issue-Bug Need-Review
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
PowerShell/DSC#1749 ·
メンテナーはふだん 1 日以内に返信
-
Issue-Bug Need-Review
難易度 3/5 1〜2日 初心者へのやさしさ 40/100
PowerShell/DSC#1748 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
"apt install dsc" will install the preview release instead of stable対応中かも @SteveL-MSFT が 1 日前に担当しました。 オープンIssue-Bug Need-Review
PowerShell/DSC#1746 · コメント 1 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
Issue-Enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
PowerShell/DSC#1737 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
rescript-lang/rescript#8765 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
chroma-core/chroma#7879 ·
メンテナーはふだん 1 日以内に返信
-
priority middle
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
KATO-Hiro/AtCoderClans#12838 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信