Open PhilTatiya opened 1 year ago
Similar to #746 which has been confirmed by AWS to be an upstream issue.
Such a pity.. I have just spent a full afternoon trying to make it work. What I receive is:
│ Error: AWS SDK Go Service Operation Unsuccessful
│
│ with module.dash-portal-eventbridge-sqs-task.awscc_pipes_pipe.pipe,
│ on ../modules/sqs-eventbridge-pipe-ecs-task/main.tf line 130, in resource "awscc_pipes_pipe" "pipe":
│ 130: resource "awscc_pipes_pipe" "pipe" {
│
│ Calling Cloud Control API service UpdateResource operation returned:
│ operation error CloudControl: UpdateResource, https response error
│ StatusCode: 400, RequestID: d1cead54-cbe1-4abf-aa2e-d9ae9370560d, api error
│ ValidationException: [ADD Operation] noSuchPath in source, path provided:
│ //TargetParameters/EcsTaskParameters/NetworkConfiguration
This happens when we try to make any change to the string value of input_template i.e.
target_parameters = { input_template = "<$.body>" }
The build will fail with error
The only work around for now is to re-create the resource with different name.
so basically the update won't work at this point to the existing resource