Compare commits
No commits in common. "main" and "1.1.0" have entirely different histories.
3 changed files with 4 additions and 9 deletions
|
@ -13,7 +13,7 @@ continuous integration tasks on AWS.
|
||||||
module "aws_iam_role" {
|
module "aws_iam_role" {
|
||||||
source = "git::ssh://git@git.adyxax.org/adyxax/tofu-module-aws-iam-role?depth=1&ref=1.1.0"
|
source = "git::ssh://git@git.adyxax.org/adyxax/tofu-module-aws-iam-role?depth=1&ref=1.1.0"
|
||||||
|
|
||||||
name = local.name
|
name = local.name
|
||||||
policy_statements = jsonencode([
|
policy_statements = jsonencode([
|
||||||
{
|
{
|
||||||
Action = "acm:*"
|
Action = "acm:*"
|
||||||
|
@ -24,11 +24,6 @@ module "aws_iam_role" {
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
## Assume role policy
|
|
||||||
|
|
||||||
This role is designed to be used with AWS Identity Center and provisions a trust
|
|
||||||
relationship to the root organization account.
|
|
||||||
|
|
||||||
## Policies
|
## Policies
|
||||||
|
|
||||||
The IAM role is granted the following permissions on the AWS account:
|
The IAM role is granted the following permissions on the AWS account:
|
||||||
|
|
|
@ -8,12 +8,12 @@ module "aws_iam_ci_user" {
|
||||||
aws.root = aws.all["root"]
|
aws.root = aws.all["root"]
|
||||||
aws.tests = aws.all["tests"]
|
aws.tests = aws.all["tests"]
|
||||||
}
|
}
|
||||||
source = "git::ssh://git@git.adyxax.org/adyxax/tofu-module-aws-iam-ci-user?depth=1&ref=1.0.1"
|
source = "git::ssh://git@git.adyxax.org/adyxax/tofu-module-aws-iam-ci-user?depth=1&ref=1.0.0"
|
||||||
|
|
||||||
name = local.name
|
name = local.name
|
||||||
tests_policy_statements = jsonencode([{
|
tests_policy_statements = jsonencode([{
|
||||||
Action = "iam:*"
|
Action = "iam:*"
|
||||||
Effect = "Allow"
|
Effect = "Allow"
|
||||||
Resource = "arn:aws:iam::*:role/tftest-role",
|
Resource = "arn:aws:iam::*:role/tftest",
|
||||||
}])
|
}])
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,5 +11,5 @@ run "main" {
|
||||||
}
|
}
|
||||||
|
|
||||||
variables {
|
variables {
|
||||||
name = "tftest-role"
|
name = "tftest"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue