Closed as not planned
Description
Terraform Core Version
1.3.6
AWS Provider Version
4.40.0
Affected Resource(s)
aws lambda function
Expected Behavior
Tracing config needs to be disabled for lambda once we remove the block from terraform.
Actual Behavior
When tracing config is removed it's not reflecting any changes in the infrastructure.
Relevant Error/Panic Output Snippet
No response
Terraform Configuration Files
resource “aws_lambda_function” “xxx” {
function_name = “xxx”
role = “role”
handler = “lambda_function.main”
runtime = “python3.9”
timeout = 300
memory_size = 1792
layers = [xray_lambda_layer]
tracing_config {
mode = “Active”
}
}
Steps to Reproduce
- Deploy lambda with tracing_config block enabling the tracing
mode: "Active"
- Remove the tracing block
- Do terraform plan
- The plan doesn't include disabling the tracing
Debug Output
No response
Panic Output
No response
Important Factoids
No response
References
No response
Would you like to implement a fix?
None