This example show how the OIDC provider and the IAM roles can be created separately :
- Creates the OIDC provider
- Stores the ARN of the OIDC provider in an SSM parameter
- Retrieves the ARN of the OIDC provider from the SSM parameter in another root module
- Creates the IAM role and attaches it to the OIDC provider