From e441c492e3cdec7d7aaf53446cc471546913b89f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arturo=20Filast=C3=B2?= Date: Wed, 3 Jul 2024 14:47:26 +0200 Subject: [PATCH] Add new user and role for ansible --- tf/modules/adm_iam_roles/main.tf | 39 ++++++++++++++++++++++++++++- tf/modules/adm_iam_roles/outputs.tf | 9 +++++++ 2 files changed, 47 insertions(+), 1 deletion(-) diff --git a/tf/modules/adm_iam_roles/main.tf b/tf/modules/adm_iam_roles/main.tf index 78504275..d1f875e1 100644 --- a/tf/modules/adm_iam_roles/main.tf +++ b/tf/modules/adm_iam_roles/main.tf @@ -8,6 +8,44 @@ data "aws_iam_policy_document" "assume_role" { } } +resource "aws_iam_policy" "ooniansible" { + name = "OONIAnsiblePolicy" + path = "/" + description = "Policy used by the ansible" + + policy = <