Skip to content

Instantly share code, notes, and snippets.

View Oxalide-Team-2's full-sized avatar

Oxalide - BU Media-Presse Oxalide-Team-2

View GitHub Profile
@Oxalide-Team-2
Oxalide-Team-2 / iam-terraform-create-policy.tf
Last active July 24, 2017 17:50 — forked from arsdehnel/iam-terraform-create-policy.tf
AWS IAM policies for running Terraform from an EC2 instance.
resource "aws_iam_policy" "terraform_create_policy" {
name = "terraform_create_policy"
path = "/"
policy = "${data.aws_iam_policy_document.terraform_create_policy.json}"
}
data "aws_iam_policy_document" "terraform_create_policy" {
statement {
sid = "1"
actions = [