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
Had an oversized user-data file that was being used through a simple 'template_file' data resource and because of the AWS limit in the api, I started using 'template_cloudinit_config' data resource to make it more compact. After the apply, I noticed the node was stuck during initialisation and I could not retrieve the user-data through the AWS console.
So I did a second apply with gzip and base64 turned off and the half of my user-data file in order to trouble shoot the 'template_cloudinit_config' resource and noticed the extra headers in the user-data through the AWS console (vm didn't come up either and was stuck during init).
Important Factoids
AWS ec2 instance
The text was updated successfully, but these errors were encountered:
I've been reading through the code from builtin/providers/template/datasource_clopudinit_config.go and I was wondering why the Content-Type is being set 2 times. One time in the multipart writer and one time in the headers. Is this related?
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 9, 2020
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Terraform Version
Terraform v0.8.7
Affected Resource(s)
Terraform Configuration Files
Expected Behavior
Content of user-data through AWS console
Actual Behavior
Actual content of user-data through AWS console
Steps to Reproduce
Had an oversized user-data file that was being used through a simple 'template_file' data resource and because of the AWS limit in the api, I started using 'template_cloudinit_config' data resource to make it more compact. After the apply, I noticed the node was stuck during initialisation and I could not retrieve the user-data through the AWS console.
So I did a second apply with gzip and base64 turned off and the half of my user-data file in order to trouble shoot the 'template_cloudinit_config' resource and noticed the extra headers in the user-data through the AWS console (vm didn't come up either and was stuck during init).
Important Factoids
AWS ec2 instance
The text was updated successfully, but these errors were encountered: