Skip to content

Commit 2bc22d6

Browse files
CCM-9247: Remove amplify domain destroy
1 parent 89656d8 commit 2bc22d6

File tree

3 files changed

+674
-679
lines changed

3 files changed

+674
-679
lines changed

infrastructure/terraform/components/app/amplify_domain_association.tf

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,4 @@ resource "null_resource" "amplify_domain_association" {
2828
when = create
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
}
31-
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-
}
3631
}

0 commit comments

Comments
 (0)