Documentation ¶
Index ¶
- type Args
- type MachineImageEncryptionKey
- type MachineImageEncryptionKeyAttributes
- func (miek MachineImageEncryptionKeyAttributes) InternalRef() (terra.Reference, error)
- func (miek MachineImageEncryptionKeyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (miek MachineImageEncryptionKeyAttributes) InternalWithRef(ref terra.Reference) MachineImageEncryptionKeyAttributes
- func (miek MachineImageEncryptionKeyAttributes) KmsKeyName() terra.StringValue
- func (miek MachineImageEncryptionKeyAttributes) KmsKeyServiceAccount() terra.StringValue
- func (miek MachineImageEncryptionKeyAttributes) RawKey() terra.StringValue
- func (miek MachineImageEncryptionKeyAttributes) Sha256() terra.StringValue
- type MachineImageEncryptionKeyState
- type Resource
- func (gcmi *Resource) Attributes() googleComputeMachineImageAttributes
- func (gcmi *Resource) Configuration() interface{}
- func (gcmi *Resource) DependOn() terra.Reference
- func (gcmi *Resource) Dependencies() terra.Dependencies
- func (gcmi *Resource) ImportState(state io.Reader) error
- func (gcmi *Resource) LifecycleManagement() *terra.Lifecycle
- func (gcmi *Resource) LocalName() string
- func (gcmi *Resource) State() (*googleComputeMachineImageState, bool)
- func (gcmi *Resource) StateMust() *googleComputeMachineImageState
- func (gcmi *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
- type TimeoutsState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // Description: string, optional Description terra.StringValue `hcl:"description,attr"` // GuestFlush: bool, optional GuestFlush terra.BoolValue `hcl:"guest_flush,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Project: string, optional Project terra.StringValue `hcl:"project,attr"` // SourceInstance: string, required SourceInstance terra.StringValue `hcl:"source_instance,attr" validate:"required"` // MachineImageEncryptionKey: optional MachineImageEncryptionKey *MachineImageEncryptionKey `hcl:"machine_image_encryption_key,block"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for google_compute_machine_image.
type MachineImageEncryptionKey ¶
type MachineImageEncryptionKey struct { // KmsKeyName: string, optional KmsKeyName terra.StringValue `hcl:"kms_key_name,attr"` // KmsKeyServiceAccount: string, optional KmsKeyServiceAccount terra.StringValue `hcl:"kms_key_service_account,attr"` // RawKey: string, optional RawKey terra.StringValue `hcl:"raw_key,attr"` }
type MachineImageEncryptionKeyAttributes ¶
type MachineImageEncryptionKeyAttributes struct {
// contains filtered or unexported fields
}
func (MachineImageEncryptionKeyAttributes) InternalRef ¶
func (miek MachineImageEncryptionKeyAttributes) InternalRef() (terra.Reference, error)
func (MachineImageEncryptionKeyAttributes) InternalTokens ¶
func (miek MachineImageEncryptionKeyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (MachineImageEncryptionKeyAttributes) InternalWithRef ¶
func (miek MachineImageEncryptionKeyAttributes) InternalWithRef(ref terra.Reference) MachineImageEncryptionKeyAttributes
func (MachineImageEncryptionKeyAttributes) KmsKeyName ¶
func (miek MachineImageEncryptionKeyAttributes) KmsKeyName() terra.StringValue
func (MachineImageEncryptionKeyAttributes) KmsKeyServiceAccount ¶
func (miek MachineImageEncryptionKeyAttributes) KmsKeyServiceAccount() terra.StringValue
func (MachineImageEncryptionKeyAttributes) RawKey ¶
func (miek MachineImageEncryptionKeyAttributes) RawKey() terra.StringValue
func (MachineImageEncryptionKeyAttributes) Sha256 ¶
func (miek MachineImageEncryptionKeyAttributes) Sha256() terra.StringValue
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_compute_machine_image.
func (*Resource) Attributes ¶
func (gcmi *Resource) Attributes() googleComputeMachineImageAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (gcmi *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (gcmi *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"` }
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
type TimeoutsState ¶
Click to show internal directories.
Click to hide internal directories.