read only 권한 계정 발급

This commit is contained in:
havelight-ee
2023-03-08 16:37:03 +09:00
parent 6b3334988b
commit 2b84a8a286
175 changed files with 251 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
resource "aws_instance" "bastion-k8s-prod-datasaker-io" {
ami = "ami-0b6591f49cf24e237"
instance_type = "t3.small"
count = 1
key_name = "kp-jay-bastion-datasaker"
vpc_security_group_ids = ["${aws_security_group.sg-prod-dmz-datasaker.id}"]
subnet_id = aws_subnet.sbn-prod-dmz-a.id
associate_public_ip_address = true
user_data = "${file("data.sh")}"
root_block_device {
delete_on_termination = true
encrypted = false
tags = {
Name = "bastion-k8s-prod-datasaker-io"
}
volume_size = 20
volume_type = "gp3"
iops = 3000
}
tags = {
Name = "bastion-k8s-prod-datasaker-io"
}
}