Setup s3 access at ec2 level
This commit is contained in:
parent
875e715ce9
commit
865831f1de
6 changed files with 47 additions and 58 deletions
|
|
@ -64,8 +64,9 @@ resource "aws_eip_association" "controlplane" {
|
|||
|
||||
# Launch control plane instance
|
||||
resource "aws_instance" "controlplane" {
|
||||
ami = var.ami_id
|
||||
instance_type = var.instance_type
|
||||
ami = var.ami_id
|
||||
instance_type = var.instance_type
|
||||
iam_instance_profile = aws_iam_instance_profile.node.name
|
||||
|
||||
network_interface {
|
||||
network_interface_id = aws_network_interface.controlplane.id
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue