Closed K111098 closed 2 days ago
Voting for Prioritization
Volunteering to Work on This Issue
Hey @K111098 👋 Thank you for taking the time to raise this! It looks like the error you're receiving is coming from Terraform Core while it's processing the configuration. We use Issues in this repository to track feature enhancements and bugs in the AWS Provider; to maintain that, we ask that broader questions are raised using one of the Community Resources, such as the Terraform forum. With that in mind, I'm going to close this issue.
[!WARNING] This issue has been closed, meaning that any additional comments are hard for our team to see. Please assume that the maintainers will not see them.
Ongoing conversations amongst community members are welcome, however, the issue will be locked after 30 days. Moving conversations to another venue, such as the AWS Provider forum, is recommended. If you have additional concerns, please open a new issue, referencing this one where needed.
Description
Hello - I have an EC2 instance being created by Terraform. I am passing a shell script for the user data to be run on creation of the ec2 instance which is passed to terraform using a data "template_file" block. Within the bash script I have the following line of code: for username in "$usernames[@]}"; do
TFE is throwing an error saying: Failed to render: :80, 30-31: invalid character, this character is not used within this language and 1 other diagnostic.
The character it is referring to is where the @ symbol is. I have also tried using eval in the shell script but that does not work either. Any ideas from anyone on how to resolve?
References
No response
Would you like to implement a fix?
None