1
0
Fork 0
terraform-training/project7/base.tf

13 lines
259 B
Terraform
Raw Normal View History

2020-05-13 14:25:34 +02:00
provider "aws" {
region = "eu-west-2"
}
resource "aws_iam_user" "user1" {
name = "cedric-user1"
}
resource "aws_iam_user_policy_attachment" "policy-user1" {
user = aws_iam_user.user1.name
policy_arn = "arn:aws:iam::aws:policy/AdministratorAccess"
}