google_iam_workload_identity_pool_provider

package
v0.0.0-...-4deecce Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Args

type Args struct {
	// AttributeCondition: string, optional
	AttributeCondition terra.StringValue `hcl:"attribute_condition,attr"`
	// AttributeMapping: map of string, optional
	AttributeMapping terra.MapValue[terra.StringValue] `hcl:"attribute_mapping,attr"`
	// Description: string, optional
	Description terra.StringValue `hcl:"description,attr"`
	// Disabled: bool, optional
	Disabled terra.BoolValue `hcl:"disabled,attr"`
	// DisplayName: string, optional
	DisplayName terra.StringValue `hcl:"display_name,attr"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// Project: string, optional
	Project terra.StringValue `hcl:"project,attr"`
	// WorkloadIdentityPoolId: string, required
	WorkloadIdentityPoolId terra.StringValue `hcl:"workload_identity_pool_id,attr" validate:"required"`
	// WorkloadIdentityPoolProviderId: string, required
	WorkloadIdentityPoolProviderId terra.StringValue `hcl:"workload_identity_pool_provider_id,attr" validate:"required"`
	// Aws: optional
	Aws *Aws `hcl:"aws,block"`
	// Oidc: optional
	Oidc *Oidc `hcl:"oidc,block"`
	// Saml: optional
	Saml *Saml `hcl:"saml,block"`
	// Timeouts: optional
	Timeouts *Timeouts `hcl:"timeouts,block"`
}

Args contains the configurations for google_iam_workload_identity_pool_provider.

type Aws

type Aws struct {
	// AccountId: string, required
	AccountId terra.StringValue `hcl:"account_id,attr" validate:"required"`
}

type AwsAttributes

type AwsAttributes struct {
	// contains filtered or unexported fields
}

func (AwsAttributes) AccountId

func (a AwsAttributes) AccountId() terra.StringValue

func (AwsAttributes) InternalRef

func (a AwsAttributes) InternalRef() (terra.Reference, error)

func (AwsAttributes) InternalTokens

func (a AwsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (AwsAttributes) InternalWithRef

func (a AwsAttributes) InternalWithRef(ref terra.Reference) AwsAttributes

type AwsState

type AwsState struct {
	AccountId string `json:"account_id"`
}

type DataArgs

type DataArgs struct {
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// Project: string, optional
	Project terra.StringValue `hcl:"project,attr"`
	// WorkloadIdentityPoolId: string, required
	WorkloadIdentityPoolId terra.StringValue `hcl:"workload_identity_pool_id,attr" validate:"required"`
	// WorkloadIdentityPoolProviderId: string, required
	WorkloadIdentityPoolProviderId terra.StringValue `hcl:"workload_identity_pool_provider_id,attr" validate:"required"`
}

DataArgs contains the configurations for google_iam_workload_identity_pool_provider.

type DataAwsAttributes

type DataAwsAttributes struct {
	// contains filtered or unexported fields
}

func (DataAwsAttributes) AccountId

func (a DataAwsAttributes) AccountId() terra.StringValue

func (DataAwsAttributes) InternalRef

func (a DataAwsAttributes) InternalRef() (terra.Reference, error)

func (DataAwsAttributes) InternalTokens

func (a DataAwsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataAwsAttributes) InternalWithRef

func (a DataAwsAttributes) InternalWithRef(ref terra.Reference) DataAwsAttributes

type DataAwsState

type DataAwsState struct {
	AccountId string `json:"account_id"`
}

type DataOidcAttributes

type DataOidcAttributes struct {
	// contains filtered or unexported fields
}

func (DataOidcAttributes) AllowedAudiences

func (o DataOidcAttributes) AllowedAudiences() terra.ListValue[terra.StringValue]

func (DataOidcAttributes) InternalRef

func (o DataOidcAttributes) InternalRef() (terra.Reference, error)

func (DataOidcAttributes) InternalTokens

func (o DataOidcAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataOidcAttributes) InternalWithRef

func (o DataOidcAttributes) InternalWithRef(ref terra.Reference) DataOidcAttributes

func (DataOidcAttributes) IssuerUri

func (o DataOidcAttributes) IssuerUri() terra.StringValue

func (DataOidcAttributes) JwksJson

func (o DataOidcAttributes) JwksJson() terra.StringValue

type DataOidcState

type DataOidcState struct {
	AllowedAudiences []string `json:"allowed_audiences"`
	IssuerUri        string   `json:"issuer_uri"`
	JwksJson         string   `json:"jwks_json"`
}

type DataSamlAttributes

type DataSamlAttributes struct {
	// contains filtered or unexported fields
}

func (DataSamlAttributes) IdpMetadataXml

func (s DataSamlAttributes) IdpMetadataXml() terra.StringValue

func (DataSamlAttributes) InternalRef

func (s DataSamlAttributes) InternalRef() (terra.Reference, error)

func (DataSamlAttributes) InternalTokens

func (s DataSamlAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataSamlAttributes) InternalWithRef

func (s DataSamlAttributes) InternalWithRef(ref terra.Reference) DataSamlAttributes

type DataSamlState

type DataSamlState struct {
	IdpMetadataXml string `json:"idp_metadata_xml"`
}

type DataSource

type DataSource struct {
	Name string
	Args DataArgs
}

DataSource represents the Terraform data resource google_iam_workload_identity_pool_provider.

func Data

func Data(name string, args DataArgs) *DataSource

Data creates a new instance of DataSource.

func (*DataSource) Attributes

func (giwipp *DataSource) Attributes() dataGoogleIamWorkloadIdentityPoolProviderAttributes

Attributes returns the attributes for DataSource.

func (*DataSource) Configuration

func (giwipp *DataSource) Configuration() interface{}

Configuration returns the configuration (args) for DataSource.

func (*DataSource) DataSource

func (giwipp *DataSource) DataSource() string

DataSource returns the Terraform object type for DataSource.

func (*DataSource) LocalName

func (giwipp *DataSource) LocalName() string

LocalName returns the local name for DataSource.

type Oidc

type Oidc struct {
	// AllowedAudiences: list of string, optional
	AllowedAudiences terra.ListValue[terra.StringValue] `hcl:"allowed_audiences,attr"`
	// IssuerUri: string, required
	IssuerUri terra.StringValue `hcl:"issuer_uri,attr" validate:"required"`
	// JwksJson: string, optional
	JwksJson terra.StringValue `hcl:"jwks_json,attr"`
}

type OidcAttributes

type OidcAttributes struct {
	// contains filtered or unexported fields
}

func (OidcAttributes) AllowedAudiences

func (o OidcAttributes) AllowedAudiences() terra.ListValue[terra.StringValue]

func (OidcAttributes) InternalRef

func (o OidcAttributes) InternalRef() (terra.Reference, error)

func (OidcAttributes) InternalTokens

func (o OidcAttributes) InternalTokens() (hclwrite.Tokens, error)

func (OidcAttributes) InternalWithRef

func (o OidcAttributes) InternalWithRef(ref terra.Reference) OidcAttributes

func (OidcAttributes) IssuerUri

func (o OidcAttributes) IssuerUri() terra.StringValue

func (OidcAttributes) JwksJson

func (o OidcAttributes) JwksJson() terra.StringValue

type OidcState

type OidcState struct {
	AllowedAudiences []string `json:"allowed_audiences"`
	IssuerUri        string   `json:"issuer_uri"`
	JwksJson         string   `json:"jwks_json"`
}

type Resource

type Resource struct {
	Name string
	Args Args

	DependsOn terra.Dependencies
	Lifecycle *terra.Lifecycle
	// contains filtered or unexported fields
}

Resource represents the Terraform resource google_iam_workload_identity_pool_provider.

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (giwipp *Resource) Attributes() googleIamWorkloadIdentityPoolProviderAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

func (giwipp *Resource) Configuration() interface{}

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

func (giwipp *Resource) DependOn() terra.Reference

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

func (giwipp *Resource) Dependencies() terra.Dependencies

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

func (giwipp *Resource) ImportState(state io.Reader) error

ImportState imports the given attribute values into Resource's state.

func (*Resource) LifecycleManagement

func (giwipp *Resource) LifecycleManagement() *terra.Lifecycle

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (giwipp *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (giwipp *Resource) State() (*googleIamWorkloadIdentityPoolProviderState, bool)

State returns the state and a bool indicating if Resource has state.

func (*Resource) StateMust

func (giwipp *Resource) StateMust() *googleIamWorkloadIdentityPoolProviderState

StateMust returns the state for Resource. Panics if the state is nil.

func (*Resource) Type

func (giwipp *Resource) Type() string

Type returns the Terraform object type for Resource.

type Saml

type Saml struct {
	// IdpMetadataXml: string, required
	IdpMetadataXml terra.StringValue `hcl:"idp_metadata_xml,attr" validate:"required"`
}

type SamlAttributes

type SamlAttributes struct {
	// contains filtered or unexported fields
}

func (SamlAttributes) IdpMetadataXml

func (s SamlAttributes) IdpMetadataXml() terra.StringValue

func (SamlAttributes) InternalRef

func (s SamlAttributes) InternalRef() (terra.Reference, error)

func (SamlAttributes) InternalTokens

func (s SamlAttributes) InternalTokens() (hclwrite.Tokens, error)

func (SamlAttributes) InternalWithRef

func (s SamlAttributes) InternalWithRef(ref terra.Reference) SamlAttributes

type SamlState

type SamlState struct {
	IdpMetadataXml string `json:"idp_metadata_xml"`
}

type Timeouts

type Timeouts struct {
	// Create: string, optional
	Create terra.StringValue `hcl:"create,attr"`
	// Delete: string, optional
	Delete terra.StringValue `hcl:"delete,attr"`
	// Update: string, optional
	Update terra.StringValue `hcl:"update,attr"`
}

type TimeoutsAttributes

type TimeoutsAttributes struct {
	// contains filtered or unexported fields
}

func (TimeoutsAttributes) Create

func (TimeoutsAttributes) Delete

func (TimeoutsAttributes) InternalRef

func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)

func (TimeoutsAttributes) InternalTokens

func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TimeoutsAttributes) InternalWithRef

func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes

func (TimeoutsAttributes) Update

type TimeoutsState

type TimeoutsState struct {
	Create string `json:"create"`
	Delete string `json:"delete"`
	Update string `json:"update"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL