You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @SydOps! Assuming I'm understanding your problem correctly, the actual issue here is that by opening a ${} block you are invoking HIL (our interpolation language) and this is indeed a syntax error there. To prevent that I believe you can use $${ content }.
I'll go ahead and close this issue for now - if you have further questions on this please feel free to reopen it!
jen20
changed the title
In terraform template file, it doesn’t support ${string/#substring/replacement}, even you comment it (put # in front of the line).
Escaping HIL program delimiters
Jun 17, 2016
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
ghost
locked and limited conversation to collaborators
Apr 25, 2020
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Terraform Version
Terraform v0.6.15
Affected Resource(s)
Terraform Configuration Files
Debug Output
Panic Output
If Terraform produced a panic, please provide a link to a GitHub Gist containing the output of the
crash.log
.Expected Behavior
What should have happened?
aws instance should be created.
Actual Behavior
What actually happened?
not created.
In terraform template file, it doesn’t support
bash
's${string/#substring/replacement}
, even you comment it (put#
in front of the line).Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
terraform apply
Sample one:
I want to get
haproxy
, but failed.Sample two:
I want to get
10_0_0_1
, but failed.For example, in second command, I have to replace with sed command:
Important Factoids
Are there anything atypical about your accounts that we should know? For example: Running in EC2 Classic? Custom version of OpenStack? Tight ACLs?
References
The text was updated successfully, but these errors were encountered: