Skip to content

Commit 7b08f58

Browse files
committed
Add clarifying comment
1 parent 39cc393 commit 7b08f58

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

terraform/modules/ssm/main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# I set the actual values manually in the AWS console. In the following blocks I need to provide *some* value but I don't want it to overwrite the existing values, so I use `lifecycle { ignore_changes = [value] }`. This is a common pattern when working with SSM parameters in Terraform.
12
resource "aws_ssm_parameter" "db_host" {
23
name = "/interview-prep/${var.environment}/DB_HOST"
34
type = "String"

0 commit comments

Comments
 (0)