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" }