Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use CMK blocks rather than CMK resources in Terraform #4241

Closed
Tracked by #4002
yuvalyaron opened this issue Jan 1, 2025 · 0 comments · Fixed by #4242
Closed
Tracked by #4002

Use CMK blocks rather than CMK resources in Terraform #4241

yuvalyaron opened this issue Jan 1, 2025 · 0 comments · Fixed by #4242
Labels
bug Something isn't working

Comments

@yuvalyaron
Copy link
Collaborator

The current implementation uses a separate resource to configure CMKs. This causes Terraform to first create the azure resource and only then attach the CMK, which violates Azure policies that block unencrypted storage account creation (if one is set).
The CMK configuration should instead be implemented as a dynamic block directly inside the resource.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant