Documentation ¶
Index ¶
- type Args
- type Condition
- type ConditionAttributes
- func (c ConditionAttributes) Description() terra.StringValue
- func (c ConditionAttributes) Expression() terra.StringValue
- func (c ConditionAttributes) InternalRef() (terra.Reference, error)
- func (c ConditionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (c ConditionAttributes) InternalWithRef(ref terra.Reference) ConditionAttributes
- func (c ConditionAttributes) Title() terra.StringValue
- type ConditionState
- type Resource
- func (gcfib *Resource) Attributes() googleCloudfunctions2FunctionIamBindingAttributes
- func (gcfib *Resource) Configuration() interface{}
- func (gcfib *Resource) DependOn() terra.Reference
- func (gcfib *Resource) Dependencies() terra.Dependencies
- func (gcfib *Resource) ImportState(state io.Reader) error
- func (gcfib *Resource) LifecycleManagement() *terra.Lifecycle
- func (gcfib *Resource) LocalName() string
- func (gcfib *Resource) State() (*googleCloudfunctions2FunctionIamBindingState, bool)
- func (gcfib *Resource) StateMust() *googleCloudfunctions2FunctionIamBindingState
- func (gcfib *Resource) Type() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // CloudFunction: string, required CloudFunction terra.StringValue `hcl:"cloud_function,attr" validate:"required"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Location: string, optional Location terra.StringValue `hcl:"location,attr"` // Members: set of string, required Members terra.SetValue[terra.StringValue] `hcl:"members,attr" validate:"required"` // Project: string, optional Project terra.StringValue `hcl:"project,attr"` // Role: string, required Role terra.StringValue `hcl:"role,attr" validate:"required"` // Condition: optional Condition *Condition `hcl:"condition,block"` }
Args contains the configurations for google_cloudfunctions2_function_iam_binding.
type Condition ¶
type Condition struct { // Description: string, optional Description terra.StringValue `hcl:"description,attr"` // Expression: string, required Expression terra.StringValue `hcl:"expression,attr" validate:"required"` // Title: string, required Title terra.StringValue `hcl:"title,attr" validate:"required"` }
type ConditionAttributes ¶
type ConditionAttributes struct {
// contains filtered or unexported fields
}
func (ConditionAttributes) Description ¶
func (c ConditionAttributes) Description() terra.StringValue
func (ConditionAttributes) Expression ¶
func (c ConditionAttributes) Expression() terra.StringValue
func (ConditionAttributes) InternalRef ¶
func (c ConditionAttributes) InternalRef() (terra.Reference, error)
func (ConditionAttributes) InternalTokens ¶
func (c ConditionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ConditionAttributes) InternalWithRef ¶
func (c ConditionAttributes) InternalWithRef(ref terra.Reference) ConditionAttributes
func (ConditionAttributes) Title ¶
func (c ConditionAttributes) Title() terra.StringValue
type ConditionState ¶
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_cloudfunctions2_function_iam_binding.
func (*Resource) Attributes ¶
func (gcfib *Resource) Attributes() googleCloudfunctions2FunctionIamBindingAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (gcfib *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (gcfib *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.
Click to show internal directories.
Click to hide internal directories.