Closed cd-bustamante closed 3 years ago
@cd-bustamante same question to you as https://github.com/hashicorp/terraform-provider-google/issues/8376. If this is still an open question, please share the debug log
Hello @edwardmedia , here is the URL to the GIST with the log ==> https://gist.github.com/cd-bustamante/3ffe6ad6f8e8cd0293cac73ea3a16f70
Thanks for the follow up!
@cd-bustamante I have left comments in https://github.com/hashicorp/terraform-provider-google/issues/8376. This is about the script rendering via data source & template_file. These features are owned by Terraform. I can try to repro the issue by directly using the inline scripts for metadata_startup_script
?
@cd-bustamante Closing this issue then along with #8376. Feel free to reopen if the provider can help
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 feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error π€ π , please reach out to my human friends π hashibot-feedback@hashicorp.com. Thanks!
Community Note
modular-magician
user, it is either in the process of being autogenerated, or is planned to be autogenerated soon. If an issue is assigned to a user, that user is claiming responsibility for the issue. If an issue is assigned tohashibot
, a community member has claimed the issue already.Terraform Version
Terraform v0.14.4
Affected Resource(s)
Terraform Configuration Files
main.tf
datasource.tf
variables.tf
init.tpl
Debug Output
N/A
Panic Output
Expected Behavior
When running the code I should be able to create a new VM and be able to use template_file to pass it to GCP to enable it for the new VM to use as starting up script
Actual Behavior
I am receiving the following error in Terraform command line
Error: failed to render ::59,70-71: Invalid character; This character is not used within the language., and 7 other diagnostic(s)
on datasource.tf line 9, in data "template_file" "init": 9: data "template_file" "init" {
Steps to Reproduce
terraform apply
Important Factoids
References
0000