Skip to content

Commit 04e81ed

Browse files
committed
disable domain assoc deletion
1 parent f2b37da commit 04e81ed

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

infrastructure/terraform/components/app/amplify_domain_association.tf

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ resource "null_resource" "amplify_domain_association" {
2929
command = "aws amplify create-domain-association --app-id ${self.triggers.amplify_app_id} --domain-name ${self.triggers.amplify_domain_name} --sub-domain-settings prefix=\"\",branchName=\"${self.triggers.amplify_branch_name}\" prefix=\"${self.triggers.amplify_url_prefix}\",branchName=\"${self.triggers.amplify_branch_name}\" --enable-auto-sub-domain --auto-sub-domain-creation-patterns \"*,*/*,pr*\""
3030
}
3131

32-
provisioner "local-exec" {
33-
when = destroy
34-
command = "aws amplify delete-domain-association --app-id ${self.triggers.amplify_app_id} --domain-name ${self.triggers.amplify_domain_name}"
35-
}
32+
# provisioner "local-exec" {
33+
# when = destroy
34+
# command = "aws amplify delete-domain-association --app-id ${self.triggers.amplify_app_id} --domain-name ${self.triggers.amplify_domain_name}"
35+
# }
3636
}

0 commit comments

Comments
 (0)