Skip to content

Commit 5f12350

Browse files
committed
chore: updated ec2 configurations for vmp
1 parent bd4dd98 commit 5f12350

File tree

3 files changed

+17
-0
lines changed

3 files changed

+17
-0
lines changed

enos/modules/aws_boundary/boundary-instances.tf

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,11 @@ resource "aws_instance" "controller" {
3232
Type = local.boundary_cluster_tag,
3333
},
3434
)
35+
36+
metadata_options {
37+
http_endpoint = "enabled"
38+
instance_metadata_tags = "enabled"
39+
}
3540
}
3641

3742
resource "aws_instance" "worker" {
@@ -60,6 +65,10 @@ resource "aws_instance" "worker" {
6065
Type = local.boundary_cluster_tag,
6166
},
6267
)
68+
metadata_options {
69+
http_endpoint = "enabled"
70+
instance_metadata_tags = "enabled"
71+
}
6372
}
6473

6574
resource "enos_bundle_install" "controller" {

enos/modules/aws_target/main.tf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,10 @@ resource "aws_instance" "target" {
133133
root_block_device {
134134
encrypted = true
135135
}
136+
metadata_options {
137+
http_endpoint = "enabled"
138+
instance_metadata_tags = "enabled"
139+
}
136140
}
137141

138142
resource "enos_remote_exec" "wait" {

enos/modules/aws_vault/vault-instances.tf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ resource "aws_instance" "vault_instance" {
1717
Type = local.vault_cluster_tag
1818
},
1919
)
20+
metadata_options {
21+
http_endpoint = "enabled"
22+
instance_metadata_tags = "enabled"
23+
}
2024
}
2125

2226
resource "enos_remote_exec" "install_dependencies" {

0 commit comments

Comments
 (0)