-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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
New Resource: aws_config_organization_config_rule
#9299
Comments
Hi folks 👋 The team at HashiCorp is picking this feature request up for implementation and we can provide an update about this later today or Monday. 👍 |
…anization_managed_rule Reference: #9299 Output from acceptance testing: ``` --- PASS: TestAccAWSConfig/OrganizationCustomRule (3029.15s) --- PASS: TestAccAWSConfig/OrganizationCustomRule/InputParameters (305.03s) --- PASS: TestAccAWSConfig/OrganizationCustomRule/MaximumExecutionFrequency (232.54s) --- PASS: TestAccAWSConfig/OrganizationCustomRule/ResourceIdScope (226.23s) --- PASS: TestAccAWSConfig/OrganizationCustomRule/ResourceTypesScope (282.06s) --- PASS: TestAccAWSConfig/OrganizationCustomRule/basic (130.37s) --- PASS: TestAccAWSConfig/OrganizationCustomRule/disappears (141.50s) --- PASS: TestAccAWSConfig/OrganizationCustomRule/errorHandling (155.78s) --- PASS: TestAccAWSConfig/OrganizationCustomRule/ExcludedAccounts (246.06s) --- PASS: TestAccAWSConfig/OrganizationCustomRule/TagValueScope (255.75s) --- PASS: TestAccAWSConfig/OrganizationCustomRule/TriggerTypes (258.28s) --- PASS: TestAccAWSConfig/OrganizationCustomRule/Description (271.57s) --- PASS: TestAccAWSConfig/OrganizationCustomRule/LambdaFunctionArn (231.53s) --- PASS: TestAccAWSConfig/OrganizationCustomRule/TagKeyScope (292.43s) --- PASS: TestAccAWSConfig/OrganizationManagedRule (2809.33s) --- PASS: TestAccAWSConfig/OrganizationManagedRule/RuleIdentifier (254.75s) --- PASS: TestAccAWSConfig/OrganizationManagedRule/TagKeyScope (301.58s) --- PASS: TestAccAWSConfig/OrganizationManagedRule/Description (238.37s) --- PASS: TestAccAWSConfig/OrganizationManagedRule/ExcludedAccounts (300.45s) --- PASS: TestAccAWSConfig/OrganizationManagedRule/MaximumExecutionFrequency (234.66s) --- PASS: TestAccAWSConfig/OrganizationManagedRule/ResourceTypesScope (261.44s) --- PASS: TestAccAWSConfig/OrganizationManagedRule/ResourceIdScope (285.29s) --- PASS: TestAccAWSConfig/OrganizationManagedRule/TagValueScope (263.19s) --- PASS: TestAccAWSConfig/OrganizationManagedRule/basic (115.53s) --- PASS: TestAccAWSConfig/OrganizationManagedRule/disappears (176.75s) --- PASS: TestAccAWSConfig/OrganizationManagedRule/errorHandling (150.24s) --- PASS: TestAccAWSConfig/OrganizationManagedRule/InputParameters (227.08s) ```
Pull request submitted: #9716 |
…anization_managed_rule Reference: #9299 Output from acceptance testing: ``` --- PASS: TestAccAWSConfig/OrganizationCustomRule (3029.15s) --- PASS: TestAccAWSConfig/OrganizationCustomRule/InputParameters (305.03s) --- PASS: TestAccAWSConfig/OrganizationCustomRule/MaximumExecutionFrequency (232.54s) --- PASS: TestAccAWSConfig/OrganizationCustomRule/ResourceIdScope (226.23s) --- PASS: TestAccAWSConfig/OrganizationCustomRule/ResourceTypesScope (282.06s) --- PASS: TestAccAWSConfig/OrganizationCustomRule/basic (130.37s) --- PASS: TestAccAWSConfig/OrganizationCustomRule/disappears (141.50s) --- PASS: TestAccAWSConfig/OrganizationCustomRule/errorHandling (155.78s) --- PASS: TestAccAWSConfig/OrganizationCustomRule/ExcludedAccounts (246.06s) --- PASS: TestAccAWSConfig/OrganizationCustomRule/TagValueScope (255.75s) --- PASS: TestAccAWSConfig/OrganizationCustomRule/TriggerTypes (258.28s) --- PASS: TestAccAWSConfig/OrganizationCustomRule/Description (271.57s) --- PASS: TestAccAWSConfig/OrganizationCustomRule/LambdaFunctionArn (231.53s) --- PASS: TestAccAWSConfig/OrganizationCustomRule/TagKeyScope (292.43s) --- PASS: TestAccAWSConfig/OrganizationManagedRule (2809.33s) --- PASS: TestAccAWSConfig/OrganizationManagedRule/RuleIdentifier (254.75s) --- PASS: TestAccAWSConfig/OrganizationManagedRule/TagKeyScope (301.58s) --- PASS: TestAccAWSConfig/OrganizationManagedRule/Description (238.37s) --- PASS: TestAccAWSConfig/OrganizationManagedRule/ExcludedAccounts (300.45s) --- PASS: TestAccAWSConfig/OrganizationManagedRule/MaximumExecutionFrequency (234.66s) --- PASS: TestAccAWSConfig/OrganizationManagedRule/ResourceTypesScope (261.44s) --- PASS: TestAccAWSConfig/OrganizationManagedRule/ResourceIdScope (285.29s) --- PASS: TestAccAWSConfig/OrganizationManagedRule/TagValueScope (263.19s) --- PASS: TestAccAWSConfig/OrganizationManagedRule/basic (115.53s) --- PASS: TestAccAWSConfig/OrganizationManagedRule/disappears (176.75s) --- PASS: TestAccAWSConfig/OrganizationManagedRule/errorHandling (150.24s) --- PASS: TestAccAWSConfig/OrganizationManagedRule/InputParameters (227.08s) ```
Two new resources to manage these rules have been merged:
They will release with version 2.24.0 of the Terraform AWS Provider, later this week. |
This has been released in version 2.24.0 of the Terraform AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template for triage. Thanks! |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks! |
Community Note
Description
AWS just added support for organization level config rules - it would be nice to be able to manage programatically in terraform:
New or Affected Resource(s)
aws_config_organization_config_rule
Potential Terraform Configuration
There are two types of rules - managed and custom. I'm not really sure how the resource should be configured for each (or if there should be two separate resources). It looks like the request shape is different than they used for single-account config rules:
vs original config rule:
References
The text was updated successfully, but these errors were encountered: