Skip to content

Commit 10670e4

Browse files
committed
cannot define both user_data and user_data_base64
1 parent da808e6 commit 10670e4

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

main.tf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,6 @@ resource "aws_instance" "default" {
9292
ebs_optimized = "${var.ebs_optimized}"
9393
disable_api_termination = "${var.disable_api_termination}"
9494
user_data = "${var.user_data}"
95-
user_data_base64 = "${var.user_data_base64}"
9695
iam_instance_profile = "${aws_iam_instance_profile.default.name}"
9796
associate_public_ip_address = "${var.associate_public_ip_address}"
9897
key_name = "${var.ssh_key_pair}"

variables.tf

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,6 @@ variable "user_data" {
1212
default = ""
1313
}
1414

15-
variable "user_data_base64" {
16-
description = " Can be used instead of user_data to pass base64-encoded binary data directly. Use this instead of user_data whenever the value is not a valid UTF-8 string."
17-
default = ""
18-
}
19-
2015
variable "instance_type" {
2116
description = "The type of the creating instance"
2217
default = "t2.micro"

0 commit comments

Comments
 (0)