sg, eks, iam 모듈추가
This commit is contained in:
5
modules/iam-policy-attach/main.tf
Normal file
5
modules/iam-policy-attach/main.tf
Normal 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}"
|
||||
}
|
0
modules/iam-policy-attach/outputs.tf
Normal file
0
modules/iam-policy-attach/outputs.tf
Normal file
14
modules/iam-policy-attach/variables.tf
Normal file
14
modules/iam-policy-attach/variables.tf
Normal 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
|
||||
}
|
Reference in New Issue
Block a user