Documentation ¶
Index ¶
- type Args
- type DataArgs
- type DataPrimaryAttributes
- func (p DataPrimaryAttributes) InternalRef() (terra.Reference, error)
- func (p DataPrimaryAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (p DataPrimaryAttributes) InternalWithRef(ref terra.Reference) DataPrimaryAttributes
- func (p DataPrimaryAttributes) Name() terra.StringValue
- func (p DataPrimaryAttributes) State() terra.StringValue
- type DataPrimaryState
- type DataSource
- type DataVersionTemplateAttributes
- func (vt DataVersionTemplateAttributes) Algorithm() terra.StringValue
- func (vt DataVersionTemplateAttributes) InternalRef() (terra.Reference, error)
- func (vt DataVersionTemplateAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (vt DataVersionTemplateAttributes) InternalWithRef(ref terra.Reference) DataVersionTemplateAttributes
- func (vt DataVersionTemplateAttributes) ProtectionLevel() terra.StringValue
- type DataVersionTemplateState
- type PrimaryAttributes
- func (p PrimaryAttributes) InternalRef() (terra.Reference, error)
- func (p PrimaryAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (p PrimaryAttributes) InternalWithRef(ref terra.Reference) PrimaryAttributes
- func (p PrimaryAttributes) Name() terra.StringValue
- func (p PrimaryAttributes) State() terra.StringValue
- type PrimaryState
- type Resource
- func (gkck *Resource) Attributes() googleKmsCryptoKeyAttributes
- func (gkck *Resource) Configuration() interface{}
- func (gkck *Resource) DependOn() terra.Reference
- func (gkck *Resource) Dependencies() terra.Dependencies
- func (gkck *Resource) ImportState(state io.Reader) error
- func (gkck *Resource) LifecycleManagement() *terra.Lifecycle
- func (gkck *Resource) LocalName() string
- func (gkck *Resource) State() (*googleKmsCryptoKeyState, bool)
- func (gkck *Resource) StateMust() *googleKmsCryptoKeyState
- func (gkck *Resource) Type() string
- type Timeouts
- type TimeoutsAttributes
- func (t TimeoutsAttributes) Create() terra.StringValue
- func (t TimeoutsAttributes) Delete() terra.StringValue
- func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)
- func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes
- func (t TimeoutsAttributes) Update() terra.StringValue
- type TimeoutsState
- type VersionTemplate
- type VersionTemplateAttributes
- func (vt VersionTemplateAttributes) Algorithm() terra.StringValue
- func (vt VersionTemplateAttributes) InternalRef() (terra.Reference, error)
- func (vt VersionTemplateAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (vt VersionTemplateAttributes) InternalWithRef(ref terra.Reference) VersionTemplateAttributes
- func (vt VersionTemplateAttributes) ProtectionLevel() terra.StringValue
- type VersionTemplateState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // CryptoKeyBackend: string, optional CryptoKeyBackend terra.StringValue `hcl:"crypto_key_backend,attr"` // DestroyScheduledDuration: string, optional DestroyScheduledDuration terra.StringValue `hcl:"destroy_scheduled_duration,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // ImportOnly: bool, optional ImportOnly terra.BoolValue `hcl:"import_only,attr"` // KeyRing: string, required KeyRing terra.StringValue `hcl:"key_ring,attr" validate:"required"` // Labels: map of string, optional Labels terra.MapValue[terra.StringValue] `hcl:"labels,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Purpose: string, optional Purpose terra.StringValue `hcl:"purpose,attr"` // RotationPeriod: string, optional RotationPeriod terra.StringValue `hcl:"rotation_period,attr"` // SkipInitialVersionCreation: bool, optional SkipInitialVersionCreation terra.BoolValue `hcl:"skip_initial_version_creation,attr"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` // VersionTemplate: optional VersionTemplate *VersionTemplate `hcl:"version_template,block"` }
Args contains the configurations for google_kms_crypto_key.
type DataArgs ¶
type DataArgs struct { // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // KeyRing: string, required KeyRing terra.StringValue `hcl:"key_ring,attr" validate:"required"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` }
DataArgs contains the configurations for google_kms_crypto_key.
type DataPrimaryAttributes ¶
type DataPrimaryAttributes struct {
// contains filtered or unexported fields
}
func (DataPrimaryAttributes) InternalRef ¶
func (p DataPrimaryAttributes) InternalRef() (terra.Reference, error)
func (DataPrimaryAttributes) InternalTokens ¶
func (p DataPrimaryAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataPrimaryAttributes) InternalWithRef ¶
func (p DataPrimaryAttributes) InternalWithRef(ref terra.Reference) DataPrimaryAttributes
func (DataPrimaryAttributes) Name ¶
func (p DataPrimaryAttributes) Name() terra.StringValue
func (DataPrimaryAttributes) State ¶
func (p DataPrimaryAttributes) State() terra.StringValue
type DataPrimaryState ¶
type DataSource ¶
DataSource represents the Terraform data resource google_kms_crypto_key.
func Data ¶
func Data(name string, args DataArgs) *DataSource
Data creates a new instance of DataSource.
func (*DataSource) Attributes ¶
func (gkck *DataSource) Attributes() dataGoogleKmsCryptoKeyAttributes
Attributes returns the attributes for DataSource.
func (*DataSource) Configuration ¶
func (gkck *DataSource) Configuration() interface{}
Configuration returns the configuration (args) for DataSource.
func (*DataSource) DataSource ¶
func (gkck *DataSource) DataSource() string
DataSource returns the Terraform object type for DataSource.
func (*DataSource) LocalName ¶
func (gkck *DataSource) LocalName() string
LocalName returns the local name for DataSource.
type DataVersionTemplateAttributes ¶
type DataVersionTemplateAttributes struct {
// contains filtered or unexported fields
}
func (DataVersionTemplateAttributes) Algorithm ¶
func (vt DataVersionTemplateAttributes) Algorithm() terra.StringValue
func (DataVersionTemplateAttributes) InternalRef ¶
func (vt DataVersionTemplateAttributes) InternalRef() (terra.Reference, error)
func (DataVersionTemplateAttributes) InternalTokens ¶
func (vt DataVersionTemplateAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataVersionTemplateAttributes) InternalWithRef ¶
func (vt DataVersionTemplateAttributes) InternalWithRef(ref terra.Reference) DataVersionTemplateAttributes
func (DataVersionTemplateAttributes) ProtectionLevel ¶
func (vt DataVersionTemplateAttributes) ProtectionLevel() terra.StringValue
type PrimaryAttributes ¶
type PrimaryAttributes struct {
// contains filtered or unexported fields
}
func (PrimaryAttributes) InternalRef ¶
func (p PrimaryAttributes) InternalRef() (terra.Reference, error)
func (PrimaryAttributes) InternalTokens ¶
func (p PrimaryAttributes) InternalTokens() (hclwrite.Tokens, error)
func (PrimaryAttributes) InternalWithRef ¶
func (p PrimaryAttributes) InternalWithRef(ref terra.Reference) PrimaryAttributes
func (PrimaryAttributes) Name ¶
func (p PrimaryAttributes) Name() terra.StringValue
func (PrimaryAttributes) State ¶
func (p PrimaryAttributes) State() terra.StringValue
type PrimaryState ¶
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_kms_crypto_key.
func (*Resource) Attributes ¶
func (gkck *Resource) Attributes() googleKmsCryptoKeyAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (gkck *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (gkck *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.
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 (t TimeoutsAttributes) Create() terra.StringValue
func (TimeoutsAttributes) Delete ¶
func (t TimeoutsAttributes) Delete() terra.StringValue
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 ¶
func (t TimeoutsAttributes) Update() terra.StringValue
type TimeoutsState ¶
type VersionTemplate ¶
type VersionTemplate struct { // Algorithm: string, required Algorithm terra.StringValue `hcl:"algorithm,attr" validate:"required"` // ProtectionLevel: string, optional ProtectionLevel terra.StringValue `hcl:"protection_level,attr"` }
type VersionTemplateAttributes ¶
type VersionTemplateAttributes struct {
// contains filtered or unexported fields
}
func (VersionTemplateAttributes) Algorithm ¶
func (vt VersionTemplateAttributes) Algorithm() terra.StringValue
func (VersionTemplateAttributes) InternalRef ¶
func (vt VersionTemplateAttributes) InternalRef() (terra.Reference, error)
func (VersionTemplateAttributes) InternalTokens ¶
func (vt VersionTemplateAttributes) InternalTokens() (hclwrite.Tokens, error)
func (VersionTemplateAttributes) InternalWithRef ¶
func (vt VersionTemplateAttributes) InternalWithRef(ref terra.Reference) VersionTemplateAttributes
func (VersionTemplateAttributes) ProtectionLevel ¶
func (vt VersionTemplateAttributes) ProtectionLevel() terra.StringValue