Skip to content

nephosolutions/terraform-google-workload-identity-federation

Repository files navigation

Google Cloud OIDC Workload Identity Federation

Copyright 2023 NephoSolutions srl

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

 http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Requirements

Name Version
terraform >= 1.1.0
google >= 4.29.0

Providers

Name Version
google 5.10.0

Modules

No modules.

Resources

Name Type
google_iam_workload_identity_pool.oidc_provider resource
google_iam_workload_identity_pool_provider.oidc_provider resource

Inputs

Name Description Type Default Required
allowed_audiences Acceptable values for the aud field (audience) in the OIDC token. list(string) null no
attribute_condition A Common Expression Language expression, in plain text, to restrict what otherwise valid authentication credentials issued by the provider should not be accepted. string null no
attribute_mapping Maps attributes from authentication credentials issued by an external identity provider to Google Cloud attributes, such as subject and segment. map(string) null no
description A description for the pool and provider. string null no
disabled Whether the pool is disabled. bool null no
display_name A display name for the pool and provider. string null no
issuer_uri The OIDC issuer URL. string n/a yes
pool_id The ID used for the pool, which is the final component of the pool resource name. string n/a yes
project_id The ID of the project in which the resources belong. string null no
provider_id The ID for the provider, which becomes the final component of the resource name. string n/a yes

Outputs

Name Description
audience The URL of the workload identity audience.
pool_id The identifier of the workload identity pool.
pool_name The name of the workload identity pool.
pool_state The state of the workload identity pool.
provider_id The identifier of the workload identity provider.
provider_name The name of the workload identity provider.
provider_state The state of the workload identity provider.

About

Google Cloud OIDC workload identity federation

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages