hashicorp / terraform-provider-awscc

Terraform AWS Cloud Control provider
https://registry.terraform.io/providers/hashicorp/awscc/latest/docs
Mozilla Public License 2.0
242 stars 110 forks source link

Issue around awscc_pipes_pipe #875

Open PhilTatiya opened 1 year ago

PhilTatiya commented 1 year ago

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 image

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

breathingdust commented 1 year ago

Similar to #746 which has been confirmed by AWS to be an upstream issue.

milieere commented 1 year ago

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