[Bug] Fix Custom KMS Organizational Policy
Maintainers usually reply within 2 days
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 45/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- google-cloud, terraform
- Domain
- cloud, infrastructure, security
Research direction
Start by reproducing a Terraform destroy of KMS keys under the current custom KMS organization policy, then inspect the custom KMS policy configurations and the rotation-period constraint involved. Done means Terraform can delete or update the keys without an organization-policy conflict.
Written by the indexing model from the issue text.
Description
Bug Description
A custom KMS organization policy bug prevents Terraform from deleting encryption keys.
Environment and Deployment Context
Please provide details about your deployment to help us reproduce the issue.
- Stellar Engine Version/Commit:
main - Deployment Type:
- US Region Restricted (e.g., Access Policy constraint)
- FedRAMP Medium
- FedRAMP High
- DoD IL4
- DoD IL5
- All / General
- FAST Stage (if applicable):
- Stage 0 (Bootstrap)
- Stage 1 (Resource Management)
- Stage 2 (Network Creation)
- Stage 3 (Security and Audit)
- Affected Component: Custom KMS Org Policy configurations.
- Terraform Version: 1.5.7
- GCP Provider Version: 5.10.0
Steps to Reproduce
Steps to reproduce the behavior:
- Deploy KMS keys under the current custom KMS organization policy.
- Attempt to destroy or delete the keys via Terraform.
- See error related to violating constraints on unsetting rotation periods.
Expected Behavior
Terraform should be able to cleanly delete or manage the lifecycle of KMS keys without Org Policy conflicts.
Actual Behavior
The custom KMS organization policy prevents key deletion, blocking automated teardowns and updates.
Relevant Logs and Errors
N/A
Additional Context
The proposed fix is to modify the custom KMS organization policy or find a workaround to bypass the rotation period constraint during deletion.
- Dominant language
- HCL
- Stars
- 51
- Forks
- 21
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 30
Getting set up
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from google/stellar-engine
-
documentation Level of Effort - High Priority - Medium
Difficulty 1/5 1-3 hours Newbie friendliness 88/100
google/stellar-engine#232 ·
Maintainers usually reply within 2 days
-
Bug Gemini - Government Level of Effort - Low Priority - Low
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
google/stellar-engine#135 ·
Maintainers usually reply within 2 days
-
[Feature Request] gem4gov: implement BigQuery import in the standalone datastore import commandOpenEnhancement Gemini - Government Level of Effort - Medium Priority - Medium
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
google/stellar-engine#122 ·
Maintainers usually reply within 2 days
-
documentation Level of Effort - Medium Priority - Medium
Difficulty 2/5 Half a day Newbie friendliness 72/100
google/stellar-engine#117 · 1 comment ·
Maintainers usually reply within 2 days
-
bug documentation
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
google/stellar-engine#91 ·
Maintainers usually reply within 2 days
All issues in google/stellar-engine
Similar issues
-
enhancement needs-triage service/kinesisanalyticsv2
Difficulty 1/5 1-3 hours Newbie friendliness 75/100
hashicorp/terraform-provider-aws#50261 · 2 comments ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
certimate-go/certimate#1471 ·
-
Add a check for GitHub flexible federated identity credentials missing an immutable repository claimPossibly taken @harshit3355 claimed this 1 day ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
bridgecrewio/checkov#7714 ·
Maintainers usually reply within 1 day
-
alicloud_nas_file_system: support Agentic storage typePossibly taken @BaoZhiFei claimed this 1 day ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
aliyun/terraform-provider-alicloud#10730 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100