Skip to content

Add an IAM OIDC provider for the Entra tenant - #241

Merged
ale210 merged 2 commits into
mainfrom
236-entra-oidc-provider
Dec 1, 2026
Merged

ale210 merged 2 commits into
mainfrom
236-entra-oidc-provider

Conversation

@ale210

@ale210 ale210 commented Dec 1, 2026

Copy link
Copy Markdown
Member

Part of #236.

Adds terraform/aws-entra-oidc-provider.tf: an IAM OIDC provider for Hack for LA's Entra tenant, so incubator apps on Azure can assume AWS roles through their credential sidecar (hackforla/incubator#312).

Expected plan: 1 to add, 0 to change, 0 to destroy. A local read-only plan against production state matched.

After merge: confirm the provider's URL and client ID with aws iam list-open-id-connect-providers / get-open-id-connect-provider.

@github-actions

github-actions Bot commented Dec 1, 2026 •

Copy link
Copy Markdown
Contributor

Terraform plan in terraform
With backend config files: terraform/prod.backend.tfvars
With variables: iam_only = false

Plan: 1 to add, 0 to change, 0 to destroy. Changes to Outputs.
Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
+   create

Terraform will perform the following actions:

  # aws_iam_openid_connect_provider.entra[0] will be created
+   resource "aws_iam_openid_connect_provider" "entra" {
+       arn             = (known after apply)
+       client_id_list  = [
+           "bb422364-5f6c-4950-bc83-170463db0a53",
        ]
+       id              = (known after apply)
+       tags_all        = {
+           "managed-by" = "terraform-devops-security"
        }
+       thumbprint_list = (known after apply)
+       url             = "https://sts.windows.net/8d4de52f-0fe7-43d5-a950-f268f4a09ead/"
    }

Plan: 1 to add, 0 to change, 0 to destroy.

Changes to Outputs:
+   entra_oidc_provider_arn       = (known after apply)

✅ Plan applied in Apply Terraform changes on merge #66

Outputs
entra_oidc_provider_arn       = "arn:aws:iam::035866691871:oidc-provider/sts.windows.net/8d4de52f-0fe7-43d5-a950-f268f4a09ead/"
incubator_azure_ci_client_ids = {
    apply = "3ed75320-4929-4cc2-bd82-7b25f50c2577"
    plan  = "47e2bdcb-3c85-4d59-be12-869552bba440"
}

@ale210
ale210 merged commit 158dc81 into main Dec 1, 2026
1 check passed
@ale210
ale210 deleted the 236-entra-oidc-provider branch December 1, 2026 03:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant