{"id":13312303,"url":"https://github.com/benniemosher-dev/terraform-aws-oidc","last_synced_at":"2025-03-10T20:32:45.426Z","repository":{"id":64848439,"uuid":"576965275","full_name":"benniemosher-dev/terraform-aws-oidc","owner":"benniemosher-dev","description":"🪪 A TF module for AWS IAM OIDC identity providers. 🪪","archived":false,"fork":false,"pushed_at":"2023-02-27T02:28:49.000Z","size":8,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2023-03-03T07:25:12.755Z","etag":null,"topics":["aws","infrastructure-as-code","terraform"],"latest_commit_sha":null,"homepage":"","language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/benniemosher-dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":null,"support":null}},"created_at":"2022-12-11T15:04:19.000Z","updated_at":"2022-12-27T20:24:10.000Z","dependencies_parsed_at":"2023-02-19T03:31:09.297Z","dependency_job_id":null,"html_url":"https://github.com/benniemosher-dev/terraform-aws-oidc","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benniemosher-dev%2Fterraform-aws-oidc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benniemosher-dev%2Fterraform-aws-oidc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benniemosher-dev%2Fterraform-aws-oidc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benniemosher-dev%2Fterraform-aws-oidc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/benniemosher-dev","download_url":"https://codeload.github.com/benniemosher-dev/terraform-aws-oidc/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221191895,"owners_count":16773260,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aws","infrastructure-as-code","terraform"],"created_at":"2024-07-29T18:03:46.626Z","updated_at":"2024-10-23T11:31:07.530Z","avatar_url":"https://github.com/benniemosher-dev.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# terraform-aws-oidc\n\n![CI Terraform](https://github.com/benniemosher-dev/terraform-aws-oidc/actions/workflows/ci-terraform.yml/badge.svg)\n\n🪪 A TF module for AWS IAM OIDC identity providers. 🪪\n\n## 📜 Usage:\n\n- To install dependencies needed run:\n  ```bash\n  brew bundle install\n  ```\n- To initialize Terraform in this folder:\n  ```bash\n  task infra:init\n  ```\n- To update modules and providers in this folder:\n  ```bash\n  task init -- -upgrade\n  ```\n- To validate the module in this folder:\n  ```bash\n  task infra:validate\n  ```\n- To plan the infrastructure in this folder:\n  ```bash\n  task infra:plan\n  ```\n- To plan specific resources of infrastructure in this folder:\n  ```bash\n  task infra:plan -- -target='cloudflare_record.this'\n  ```\n\n### 🆒 Extras:\n\n- To find all the automation available in this folder:\n  ```bash\n  task --list-all\n  ```\n- To estimate the cost of the infrastructure in this folder:\n  ```bash\n  task infra:cost\n  ```\n- To update the documentation in this folder:\n  ```bash\n  task infra:docs\n  ```\n- To lint the Terraform in this folder:\n  ```bash\n  task infra:lint\n  ```\n- To validate security in this folder:\n  ```bash\n  task infra:sec\n  ```\n\n## 📋 Documentation\n\n\u003c!-- BEGIN_TF_DOCS --\u003e\n## Requirements\n\n| Name | Version |\n|------|---------|\n| \u003ca name=\"requirement_terraform\"\u003e\u003c/a\u003e [terraform](#requirement\\_terraform) | ~\u003e 1.3 |\n| \u003ca name=\"requirement_aws\"\u003e\u003c/a\u003e [aws](#requirement\\_aws) | ~\u003e 4.40 |\n\n## Providers\n\n| Name | Version |\n|------|---------|\n| \u003ca name=\"provider_aws\"\u003e\u003c/a\u003e [aws](#provider\\_aws) | 4.46.0 |\n\n## Modules\n\nNo modules.\n\n## Resources\n\n| Name | Type |\n|------|------|\n| [aws_iam_openid_connect_provider.oidc-provider](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_openid_connect_provider) | resource |\n| [aws_iam_role.this](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_role) | resource |\n| [aws_iam_role_policy_attachment.administrator-access](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_role_policy_attachment) | resource |\n| [aws_iam_role_policy_attachment.custom](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_role_policy_attachment) | resource |\n| [aws_iam_role_policy_attachment.read-only](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_role_policy_attachment) | resource |\n| [aws_iam_openid_connect_provider.oidc-provider](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_openid_connect_provider) | data source |\n| [aws_iam_policy_document.assume-role](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document) | data source |\n| [aws_partition.current](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/partition) | data source |\n\n## Inputs\n\n| Name | Description | Type | Default | Required |\n|------|-------------|------|---------|:--------:|\n| \u003ca name=\"input_config\"\u003e\u003c/a\u003e [config](#input\\_config) | The config for creating this module. | \u003cpre\u003eobject({\u003cbr\u003e    attach-admin-policy           = optional(bool, false)\u003cbr\u003e    attach-read-only-policy       = optional(bool, true)\u003cbr\u003e    create-oidc-provider          = optional(bool, true)\u003cbr\u003e    force-detach-policies         = optional(bool, false)\u003cbr\u003e    github-repositories           = optional(list(string), [])\u003cbr\u003e    github-organisation           = string\u003cbr\u003e    oidc-provider-thumbprint-list = optional(list(string), [])\u003cbr\u003e    oidc-provider-url             = optional(string, null)\u003cbr\u003e    iam-role-name                 = optional(string, null)\u003cbr\u003e    iam-role-path                 = optional(string, \"/\")\u003cbr\u003e    iam-role-policy-arns          = optional(list(string), [])\u003cbr\u003e    max-session-duration          = optional(number, 3600)\u003cbr\u003e    oidc-provider-client-list     = optional(list(string), [])\u003cbr\u003e    name                          = string\u003cbr\u003e  })\u003c/pre\u003e | n/a | yes |\n\n## Outputs\n\n| Name | Description |\n|------|-------------|\n| \u003ca name=\"output_iam-role-name\"\u003e\u003c/a\u003e [iam-role-name](#output\\_iam-role-name) | Name of the IAM role. |\n\u003c!-- END_TF_DOCS --\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenniemosher-dev%2Fterraform-aws-oidc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbenniemosher-dev%2Fterraform-aws-oidc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenniemosher-dev%2Fterraform-aws-oidc/lists"}