aws_kinesis_firehose_delivery_stream not updating on kinesis_source_configuration change #5145
Labels
bug
Addresses a defect in current functionality.
service/firehose
Issues and PRs that pertain to the firehose service.
Milestone
Community Note
Terraform Version
Affected Resource(s)
Terraform Configuration Files
Debug Output
Please let me know if this will be required
Panic Output
N/A
Expected Behavior
When I change the value of the
kinesis_source_configuration.kinesis_stream_arn
, Terraform should detect that there is a change to be applied. When running "terraform apply" it should also apply the changes, instead of returning a message that there are no changes to be applied.NOTE: From the console, trying to "edit" the firehose object doesn't allow changing the Kinesis Source Stream value, so this may have to be a delete/re-create option.
Actual Behavior
After changing the Kinesis Source Stream ARN on the "Kinesis Firehose" object. Terraform responded that the changes had been applied successfully and then subsequently that there were no further changes to be applied. However, examining the Kinesis Firehose object in the AWS console and using the AWS CLI showed that the "Source Stream ARN value was still set to the previous value.
Steps to Reproduce
Create two Kinesis Data Steam objects in AWS (e.g. "A" and "B")
Run
terraform apply
to create a Kinesis Firehose object pointing at "Stream A"Change the HCL to set the Firehose to point to "Stream B"
Run
terraform plan
and note the plan to change the Firehose objectRun
terraform apply
and note the "successful change" messageCheck in AWS console/CLI and note that the Firehose "source" is still pointing to "Stream A"
Run
terraform plan
Note that the output shows nothing to be applied.
Important Factoids
As mentioned, from the AWS console, trying to "edit" the firehose object doesn't allow changing the Kinesis Source Stream value, so this may have to be a delete/re-create option.
References
The text was updated successfully, but these errors were encountered: