Question:I’m deploying an Amazon Connect instance with an attached contact flow, following this documentation: https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/connect_contact_flow
My contact flow is stored in a file, so I’m using the following:
the value I would like to substitute into the json file at <lambda function arn> before the contact flow is created is accessible at
Answer:If you really want to use
content, you have to write the rendered template to some temporary file using local_file.
contentwith templatefile directly for that would probably be easier. For that you would have to convert your
flows/contact_flow.jsoninto a template format:
If you have better answer, please add a comment about this, thank you!