{"id":48439876,"url":"https://github.com/aws-samples/terraform-aws-identity-center","last_synced_at":"2026-04-06T15:01:04.686Z","repository":{"id":244793498,"uuid":"774509808","full_name":"aws-samples/terraform-aws-identity-center","owner":"aws-samples","description":"Manage AWS IAM Identity Center permission sets and account assignments with Terraform.","archived":false,"fork":false,"pushed_at":"2026-03-02T12:23:25.000Z","size":70,"stargazers_count":77,"open_issues_count":3,"forks_count":5,"subscribers_count":3,"default_branch":"main","last_synced_at":"2026-04-04T19:56:42.829Z","etag":null,"topics":["aws","identity","identitycenter","sso","terraform"],"latest_commit_sha":null,"homepage":"https://registry.terraform.io/modules/aws-samples/identity-center/aws/latest","language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit-0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aws-samples.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-03-19T17:11:40.000Z","updated_at":"2026-03-31T20:10:29.000Z","dependencies_parsed_at":"2025-04-08T21:24:21.041Z","dependency_job_id":"90826d6d-e7cf-412b-9429-4dcd15f7a66e","html_url":"https://github.com/aws-samples/terraform-aws-identity-center","commit_stats":null,"previous_names":["aws-samples/identity-center-with-terraform","aws-samples/terraform-aws-identity-center"],"tags_count":5,"template":false,"template_full_name":"amazon-archives/__template_MIT-0","purl":"pkg:github/aws-samples/terraform-aws-identity-center","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aws-samples%2Fterraform-aws-identity-center","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aws-samples%2Fterraform-aws-identity-center/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aws-samples%2Fterraform-aws-identity-center/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aws-samples%2Fterraform-aws-identity-center/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aws-samples","download_url":"https://codeload.github.com/aws-samples/terraform-aws-identity-center/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aws-samples%2Fterraform-aws-identity-center/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31419552,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-04T20:09:54.854Z","status":"ssl_error","status_checked_at":"2026-04-04T20:09:44.350Z","response_time":60,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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","identity","identitycenter","sso","terraform"],"created_at":"2026-04-06T15:00:58.078Z","updated_at":"2026-04-06T15:01:04.680Z","avatar_url":"https://github.com/aws-samples.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# terraform-aws-identity-center\n\nManage AWS IAM Identity Center permission sets and account assignments with Terraform.\n\nThis pattern is twinned with [terraform-aws-identity-center-users-and-groups](https://github.com/aws-samples/terraform-aws-identity-center-users-and-groups).\n\n## Module Inputs\n```hcl\nmodule \"idc\" {\n  source              = \"aws-samples/identity-center/aws\"\n  version             = \"1.2.2\"\n  permission_sets     = \"./permission_sets.yml\"\n  account_assignments = \"./account_assignments.yml\"\n}\n```\n`permission_sets` and `account_assignments` are defined using yaml templates. These module inputs should point at the yaml file location. Example [permission_sets.yml](./examples/permission_sets.yml) and [account_assignments.yml](./examples/account_assignments.yml).\n\n### Optional Inputs\n```hcl\nmodule \"idc\" {\n  ... \n  policies = \"./policies/\"\n}\n```\n\n`policies` is used for inline policies on permission sets. This input should point at a directory of IAM policy json files. Example [policies directory](./examples/policies/). \n\n### Template Files\n\nThe module accepts template files (`.yml.tpl` or `.yaml.tpl`). These can be inputted alongside regular yaml files.  \n```hcl\nmodule \"idc\" {\n  ...\n  permission_sets     = \"./permission_sets.yml\"\n  account_assignments = \"./account_assignments.yml.tpl\"\n  template_variables = {\n    management       = var.management_account_id\n    audit            = var.audit_account_id\n    session_duration = \"8\"\n  }\n}\n```\n`template_variables` inserts variables into template files. See [permission_sets.yml.tpl](./examples/permission_sets.yml.tpl) and [account_assignments.yml.tpl](./examples/account_assignments.yml.tpl) for examples with the above inputs. See [template files](./docs/template_files.md) for suggestions. \n\n## Users and groups\n\nUsers and groups can be created with: [terraform-aws-identity-center-users-and-groups](https://github.com/aws-samples/terraform-aws-identity-center-users-and-groups). The modules are de-coupled for AWS customers using an external Identity Provider (IdP).\n\n## Related Resources \n\n- [AWS IAM Identity User Guide](https://docs.aws.amazon.com/singlesignon/latest/userguide/what-is.html)\n- [Terraform Registry: aws-samples/identity-center/aws](https://registry.terraform.io/modules/aws-samples/identity-center/aws/latest)\n\n## Security\nSee [CONTRIBUTING](./CONTRIBUTING.md) for more information.\n\n## License\nThis library is licensed under the MIT-0 License. See the LICENSE file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faws-samples%2Fterraform-aws-identity-center","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faws-samples%2Fterraform-aws-identity-center","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faws-samples%2Fterraform-aws-identity-center/lists"}