作者:女女的家_747 | 来源:互联网 | 2023-08-01 14:59
When trying to create an aws_organizations_organization with below configuration:
resource "aws_organizations_organization" "org" {
aws_service_access_principals = [
"tagpolicies.tag.amazonaws.com"
]
feature_set = "ALL"
aws_service_access_principals = ["SERVICE_CONTROL_POLICY", "TAG_POLICY"]
}
Error:
expected enabled_policy_types.0 to be one of [SERVICE_CONTROL_POLICY], got TAG_POLICY
API Reference:
https://docs.aws.amazon.com/organizations/latest/APIReference/API_EnablePolicyType.html
该提问来源于开源项目:hashicorp/terraform-provider-aws
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!