aws_launch_configuration invalid or unknown key: user_data_base64 #4565
Labels
question
A question about existing functionality; most questions are re-routed to discuss.hashicorp.com.
service/ec2
Issues and PRs that pertain to the ec2 service.
Milestone
Hi,
Im trying to use the "user_data_base64" option within the aws_launch_configuration ec2_resources.
I get the following error:
Error: module.kubelet_launch_configuration.aws_launch_configuration.launch_configuration: : invalid or unknown key: user_data_base64
I used an own written terraform module which has the following configuration:
resource "aws_launch_configuration" "launch_configuration" {
name_prefix = "${var.name_prefix}"
image_id = "${var.image_id}"
instance_type = "${var.instance_type}"
spot_price = "${var.spot_price}"
iam_instance_profile = "${var.iam_instance_profile}"
user_data_base64 = "${var.user_data_base64}"
key_name = "${var.key_name}"
security_groups = [ "${var.security_groups}" ]
associate_public_ip_address = "${var.associate_public_ip_address}"
root_block_device {
volume_type = "${var.volume_type}"
volume_size = "${var.volume_size}"
delete_on_termination = "${var.delete_on_termination}"
}
}
ebs_optimized = "${var.ebs_optimized}"
}
The following terraform version is used (docker.io/hashicorp/terraform:0.11.7):
Please advise.
Kind regards,
Raymond Otto
The text was updated successfully, but these errors were encountered: