Skip to content

Commit

Permalink
chore: Update terraform for removing cloud map resourece.
Browse files Browse the repository at this point in the history
Verified that `terraform destroy` can destory cloud map resources
without error.

Bug: b/351802902
Change-Id: Iaf398c60de39b78080efdb1225313b2006a9678b
GitOrigin-RevId: 0b4fed9361c59b856984c245fbcd66392ec6ce22
  • Loading branch information
formgit authored and Privacy Sandbox Team committed Jul 8, 2024
1 parent 9829780 commit 07268cd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions production/terraform/aws/services/mesh_service/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ resource "aws_service_discovery_service" "cloud_map_service" {
health_check_custom_config {
failure_threshold = 1
}

# Ensure all cloud map entries are deleted.
force_destroy = true
}

resource "aws_appmesh_virtual_node" "appmesh_virtual_node" {
Expand Down

0 comments on commit 07268cd

Please sign in to comment.