sg, eks, iam 모듈추가

This commit is contained in:
2022-12-28 22:15:11 +09:00
parent 878bae5c65
commit 0b1946ecb3
25 changed files with 342 additions and 41 deletions

View File

@ -0,0 +1,5 @@
resource "aws_iam_policy_attachment" "test-attach" {
name = "${var.iam_name}-att"
roles = ["${var.role_name}"]
policy_arn = "${var.arn}"
}

View File

View File

@ -0,0 +1,14 @@
variable "iam_name" {
description = "value"
type = string
}
variable "role_name" {
description = "value"
type = string
}
variable "arn" {
description = "value"
type = string
}