thoughtbot / terraform-aws-backup

MIT License
4 stars 0 forks source link

backup-organization-policy is failing. #11

Open reevelobo opened 2 weeks ago

reevelobo commented 2 weeks ago

│ Error: creating Organizations Policy (organization-backup-policy-backup-policy): operation error Organizations: CreatePolicy, https response error StatusCode: 400, RequestID: b96cb7e4-1193-4d8e-bb11-752be370e711, DuplicatePolicyException: A policy with the specified name and type already exists. │ │ with module.central-backup-policy["region2"].aws_organizations_policy.backup_policy, │ on central-backup-policy\main.tf line 2, in resource "aws_organizations_policy" "backup_policy": │ 2: resource "aws_organizations_policy" "backup_policy" {

reevelobo commented 2 weeks ago

Using a terraform main file to call these modules that have been created and it looks like the Organization backup policy part is failing. Above is the Error i am facing.