Here's one case we across:
Krush merge his branch that create a tracked stack run on April 26th (check the 1st screen shot)
Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
~ update in-place
Terraform will perform the following actions:
# module.firehose_streams["FireworkStagingCommerceEventToS3"].aws_kinesis_firehose_delivery_stream.firehose will be updated in-place
~ resource "aws_kinesis_firehose_delivery_stream" "firehose" {
id = "arn:aws:firehose:us-west-2:170553093583:deliverystream/FireworkStagingCommerceEventToS3"
name = "FireworkStagingCommerceEventToS3"
tags = {
"Name" = "FireworkStagingCommerceEventToS3"
"fw:project" = "naboo"
"fw:subteam" = "data_infra"
"fw:team" = "data"
}
# (5 unchanged attributes hidden)
~ extended_s3_configuration {
# (7 unchanged attributes hidden)
~ processing_configuration {
# (1 unchanged attribute hidden)
~ processors {
# (1 unchanged attribute hidden)
- parameters {
- parameter_name = "BufferSizeInMBs" -> null
- parameter_value = "1" -> null
}
# (1 unchanged block hidden)
}
}
# (1 unchanged block hidden)
}
# (1 unchanged block hidden)
}
# module.firehose_streams["FireworkStagingPublisherClientStatusUpdateToS3"].aws_kinesis_firehose_delivery_stream.firehose will be updated in-place
~ resource "aws_kinesis_firehose_delivery_stream" "firehose" {
id = "arn:aws:firehose:us-west-2:170553093583:deliverystream/FireworkStagingPublisherClientStatusUpdateToS3"
name = "FireworkStagingPublisherClientStatusUpdateToS3"
tags = {
"Name" = "FireworkStagingPublisherClientStatusUpdateToS3"
"fw:project" = "naboo"
"fw:subteam" = "data_infra"
"fw:team" = "data"
}
# (5 unchanged attributes hidden)
~ extended_s3_configuration {
# (7 unchanged attributes hidden)
~ processing_configuration {
# (1 unchanged attribute hidden)
~ processors {
# (1 unchanged attribute hidden)
- parameters {
- parameter_name = "BufferSizeInMBs" -> null
- parameter_value = "1" -> null
}
# (1 unchanged block hidden)
}
}
# (1 unchanged block hidden)
}
# (1 unchanged block hidden)
}
# module.firehose_streams["FireworkStagingPublisherClientUpdateToS3"].aws_kinesis_firehose_delivery_stream.firehose will be updated in-place
~ resource "aws_kinesis_firehose_delivery_stream" "firehose" {
id = "arn:aws:firehose:us-west-2:170553093583:deliverystream/FireworkStagingPublisherClientUpdateToS3"
name = "FireworkStagingPublisherClientUpdateToS3"
tags = {
"Name" = "FireworkStagingPublisherClientUpdateToS3"
"fw:project" = "naboo"
"fw:subteam" = "data_infra"
"fw:team" = "data"
}
# (5 unchanged attributes hidden)
~ extended_s3_configuration {
# (7 unchanged attributes hidden)
~ processing_configuration {
# (1 unchanged attribute hidden)
~ processors {
# (1 unchanged attribute hidden)
- parameters {
- parameter_name = "BufferSizeInMBs" -> null
- parameter_value = "1" -> null
}
# (1 unchanged block hidden)
}
}
# (1 unchanged block hidden)
}
# (1 unchanged block hidden)
}
Plan: 0 to add, 3 to change, 0 to destroy.
Changes to Outputs:
- naboo_redis_addr = [
- "firework-exq-staging.qerpgn.ng.0001.usw2.cache.amazonaws.com",
] -> null
You can see the planning output of the tracked stack run in 2nd screenshot, it show us there are only 3 changed resources
We don’t confirm the stack run, so it’s not deployed
We run terragrunt offline which may change the state file
I found the tracked run is not confirmed, so I confirmed it. (check 1st screenshot)
You can see the applying output of the tracked run in 3rd screenshot, it shows us there are 1 to add, 4 to change and 8 to destroy
- weighted_routing_policy {
- weight = 0 -> null
}
}
Plan: 1 to add, 4 to change, 8 to destroy.
What we expected is in a single tracked stack run, if we have 3 resources to change in planning step, there should be only 3 resources to change in applying step.
Please authenticate to join the conversation.
⬆️ Gathering votes
💡 Feature Requests
Terragrunt
Over 1 year ago
Get notified by email when there are changes.
⬆️ Gathering votes
💡 Feature Requests
Terragrunt
Over 1 year ago
Get notified by email when there are changes.