mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-05-02 06:16:08 -04:00
aws: make CCM work
This commit is contained in:
parent
828923d159
commit
0d0191ba4d
2 changed files with 13 additions and 6 deletions
|
@ -21,9 +21,10 @@ resource "aws_launch_template" "launch_template" {
|
|||
}
|
||||
vpc_security_group_ids = var.security_groups
|
||||
metadata_options {
|
||||
http_endpoint = "enabled"
|
||||
http_tokens = "required"
|
||||
instance_metadata_tags = "enabled"
|
||||
http_endpoint = "enabled"
|
||||
http_tokens = "required"
|
||||
instance_metadata_tags = "enabled"
|
||||
http_put_response_hop_limit = 2
|
||||
}
|
||||
|
||||
block_device_mappings {
|
||||
|
@ -71,4 +72,10 @@ resource "aws_autoscaling_group" "control_plane_autoscaling_group" {
|
|||
value = var.uid
|
||||
propagate_at_launch = true
|
||||
}
|
||||
|
||||
tag {
|
||||
key = "KubernetesCluster"
|
||||
value = "Constellation-${var.uid}"
|
||||
propagate_at_launch = true
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue