Documentation ¶
Index ¶
- type Args
- type DataArgs
- type DataSource
- type Resource
- func (vgabr *Resource) Attributes() vaultGcpAuthBackendRoleAttributes
- func (vgabr *Resource) Configuration() interface{}
- func (vgabr *Resource) DependOn() terra.Reference
- func (vgabr *Resource) Dependencies() terra.Dependencies
- func (vgabr *Resource) ImportState(state io.Reader) error
- func (vgabr *Resource) LifecycleManagement() *terra.Lifecycle
- func (vgabr *Resource) LocalName() string
- func (vgabr *Resource) State() (*vaultGcpAuthBackendRoleState, bool)
- func (vgabr *Resource) StateMust() *vaultGcpAuthBackendRoleState
- func (vgabr *Resource) Type() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // AddGroupAliases: bool, optional AddGroupAliases terra.BoolValue `hcl:"add_group_aliases,attr"` // AllowGceInference: bool, optional AllowGceInference terra.BoolValue `hcl:"allow_gce_inference,attr"` // Backend: string, optional Backend terra.StringValue `hcl:"backend,attr"` // BoundInstanceGroups: set of string, optional BoundInstanceGroups terra.SetValue[terra.StringValue] `hcl:"bound_instance_groups,attr"` // BoundLabels: set of string, optional BoundLabels terra.SetValue[terra.StringValue] `hcl:"bound_labels,attr"` // BoundProjects: set of string, optional BoundProjects terra.SetValue[terra.StringValue] `hcl:"bound_projects,attr"` // BoundRegions: set of string, optional BoundRegions terra.SetValue[terra.StringValue] `hcl:"bound_regions,attr"` // BoundServiceAccounts: set of string, optional BoundServiceAccounts terra.SetValue[terra.StringValue] `hcl:"bound_service_accounts,attr"` // BoundZones: set of string, optional BoundZones terra.SetValue[terra.StringValue] `hcl:"bound_zones,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // MaxJwtExp: string, optional MaxJwtExp terra.StringValue `hcl:"max_jwt_exp,attr"` // Namespace: string, optional Namespace terra.StringValue `hcl:"namespace,attr"` // Role: string, required Role terra.StringValue `hcl:"role,attr" validate:"required"` // TokenBoundCidrs: set of string, optional TokenBoundCidrs terra.SetValue[terra.StringValue] `hcl:"token_bound_cidrs,attr"` // TokenExplicitMaxTtl: number, optional TokenExplicitMaxTtl terra.NumberValue `hcl:"token_explicit_max_ttl,attr"` // TokenMaxTtl: number, optional TokenMaxTtl terra.NumberValue `hcl:"token_max_ttl,attr"` // TokenNoDefaultPolicy: bool, optional TokenNoDefaultPolicy terra.BoolValue `hcl:"token_no_default_policy,attr"` // TokenNumUses: number, optional TokenNumUses terra.NumberValue `hcl:"token_num_uses,attr"` // TokenPeriod: number, optional TokenPeriod terra.NumberValue `hcl:"token_period,attr"` // TokenPolicies: set of string, optional TokenPolicies terra.SetValue[terra.StringValue] `hcl:"token_policies,attr"` // TokenTtl: number, optional TokenTtl terra.NumberValue `hcl:"token_ttl,attr"` // TokenType: string, optional TokenType terra.StringValue `hcl:"token_type,attr"` // Type: string, required Type terra.StringValue `hcl:"type,attr" validate:"required"` }
Args contains the configurations for vault_gcp_auth_backend_role.
type DataArgs ¶
type DataArgs struct { // Backend: string, optional Backend terra.StringValue `hcl:"backend,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Namespace: string, optional Namespace terra.StringValue `hcl:"namespace,attr"` // RoleName: string, required RoleName terra.StringValue `hcl:"role_name,attr" validate:"required"` // TokenBoundCidrs: set of string, optional TokenBoundCidrs terra.SetValue[terra.StringValue] `hcl:"token_bound_cidrs,attr"` // TokenExplicitMaxTtl: number, optional TokenExplicitMaxTtl terra.NumberValue `hcl:"token_explicit_max_ttl,attr"` // TokenMaxTtl: number, optional TokenMaxTtl terra.NumberValue `hcl:"token_max_ttl,attr"` // TokenNoDefaultPolicy: bool, optional TokenNoDefaultPolicy terra.BoolValue `hcl:"token_no_default_policy,attr"` // TokenNumUses: number, optional TokenNumUses terra.NumberValue `hcl:"token_num_uses,attr"` // TokenPeriod: number, optional TokenPeriod terra.NumberValue `hcl:"token_period,attr"` // TokenPolicies: set of string, optional TokenPolicies terra.SetValue[terra.StringValue] `hcl:"token_policies,attr"` // TokenTtl: number, optional TokenTtl terra.NumberValue `hcl:"token_ttl,attr"` // TokenType: string, optional TokenType terra.StringValue `hcl:"token_type,attr"` }
DataArgs contains the configurations for vault_gcp_auth_backend_role.
type DataSource ¶
DataSource represents the Terraform data resource vault_gcp_auth_backend_role.
func Data ¶
func Data(name string, args DataArgs) *DataSource
Data creates a new instance of DataSource.
func (*DataSource) Attributes ¶
func (vgabr *DataSource) Attributes() dataVaultGcpAuthBackendRoleAttributes
Attributes returns the attributes for DataSource.
func (*DataSource) Configuration ¶
func (vgabr *DataSource) Configuration() interface{}
Configuration returns the configuration (args) for DataSource.
func (*DataSource) DataSource ¶
func (vgabr *DataSource) DataSource() string
DataSource returns the Terraform object type for DataSource.
func (*DataSource) LocalName ¶
func (vgabr *DataSource) LocalName() string
LocalName returns the local name for DataSource.
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 vault_gcp_auth_backend_role.
func (*Resource) Attributes ¶
func (vgabr *Resource) Attributes() vaultGcpAuthBackendRoleAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (vgabr *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (vgabr *Resource) Dependencies() terra.Dependencies
Dependencies returns the list of resources Resource depends_on.
func (*Resource) ImportState ¶
ImportState imports the given attribute values into Resource's state.
func (*Resource) LifecycleManagement ¶
LifecycleManagement returns the lifecycle block for Resource.