ReplaceTriggeredBy: Still not working in Golang #3546
Labels
bug/has-workaround
A bug with a workaround (may not be elegant)
bug
Something isn't working
language/golang
priority/important-longterm
Medium priority, to be worked on within the following 1-2 business quarters.
Expected Behavior
I should be able to create a replaceTriggeredBy lifecycle rule by specifying the FQN of the resource that I want to cause a replacement trigger for, like:
Actual Behavior
I get an invalid expression. The cdktf.json file shows:
Steps to Reproduce
Apply the stack with the relevant code.
Versions
Couldn't get the info from cdktf debug
npm list -g
/Users/erik/.local/lib
├── cdktf-cli@0.20.1
└── cdktf@0.20.1
go version
go version go1.21.6 darwin/arm64
terraform version
Terraform v1.7.0
on darwin_arm64
Node.js v20.11.0
Running this command fails with this error:
Providers
Running this command fails with this error:
Gist
No response
Possible Solutions
No response
Workarounds
Workaround is to write it like this:
Anything Else?
No response
References
#3196
#1866 (comment)
Help Wanted
Community Note
The text was updated successfully, but these errors were encountered: