Documentation ¶
Index ¶
- type Args
- type CustomCookbooksSource
- type CustomCookbooksSourceAttributes
- func (ccs CustomCookbooksSourceAttributes) InternalRef() (terra.Reference, error)
- func (ccs CustomCookbooksSourceAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ccs CustomCookbooksSourceAttributes) InternalWithRef(ref terra.Reference) CustomCookbooksSourceAttributes
- func (ccs CustomCookbooksSourceAttributes) Password() terra.StringValue
- func (ccs CustomCookbooksSourceAttributes) Revision() terra.StringValue
- func (ccs CustomCookbooksSourceAttributes) SshKey() terra.StringValue
- func (ccs CustomCookbooksSourceAttributes) Type() terra.StringValue
- func (ccs CustomCookbooksSourceAttributes) Url() terra.StringValue
- func (ccs CustomCookbooksSourceAttributes) Username() terra.StringValue
- type CustomCookbooksSourceState
- type Resource
- func (aos *Resource) Attributes() awsOpsworksStackAttributes
- func (aos *Resource) Configuration() interface{}
- func (aos *Resource) DependOn() terra.Reference
- func (aos *Resource) Dependencies() terra.Dependencies
- func (aos *Resource) ImportState(state io.Reader) error
- func (aos *Resource) LifecycleManagement() *terra.Lifecycle
- func (aos *Resource) LocalName() string
- func (aos *Resource) State() (*awsOpsworksStackState, bool)
- func (aos *Resource) StateMust() *awsOpsworksStackState
- func (aos *Resource) Type() string
- type Timeouts
- type TimeoutsAttributes
- type TimeoutsState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // AgentVersion: string, optional AgentVersion terra.StringValue `hcl:"agent_version,attr"` // BerkshelfVersion: string, optional BerkshelfVersion terra.StringValue `hcl:"berkshelf_version,attr"` // Color: string, optional Color terra.StringValue `hcl:"color,attr"` // ConfigurationManagerName: string, optional ConfigurationManagerName terra.StringValue `hcl:"configuration_manager_name,attr"` // ConfigurationManagerVersion: string, optional ConfigurationManagerVersion terra.StringValue `hcl:"configuration_manager_version,attr"` // CustomJson: string, optional CustomJson terra.StringValue `hcl:"custom_json,attr"` // DefaultAvailabilityZone: string, optional DefaultAvailabilityZone terra.StringValue `hcl:"default_availability_zone,attr"` // DefaultInstanceProfileArn: string, required DefaultInstanceProfileArn terra.StringValue `hcl:"default_instance_profile_arn,attr" validate:"required"` // DefaultOs: string, optional DefaultOs terra.StringValue `hcl:"default_os,attr"` // DefaultRootDeviceType: string, optional DefaultRootDeviceType terra.StringValue `hcl:"default_root_device_type,attr"` // DefaultSshKeyName: string, optional DefaultSshKeyName terra.StringValue `hcl:"default_ssh_key_name,attr"` // DefaultSubnetId: string, optional DefaultSubnetId terra.StringValue `hcl:"default_subnet_id,attr"` // HostnameTheme: string, optional HostnameTheme terra.StringValue `hcl:"hostname_theme,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // ManageBerkshelf: bool, optional ManageBerkshelf terra.BoolValue `hcl:"manage_berkshelf,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Region: string, required Region terra.StringValue `hcl:"region,attr" validate:"required"` // ServiceRoleArn: string, required ServiceRoleArn terra.StringValue `hcl:"service_role_arn,attr" validate:"required"` // Tags: map of string, optional Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"` // TagsAll: map of string, optional TagsAll terra.MapValue[terra.StringValue] `hcl:"tags_all,attr"` // UseCustomCookbooks: bool, optional UseCustomCookbooks terra.BoolValue `hcl:"use_custom_cookbooks,attr"` // UseOpsworksSecurityGroups: bool, optional UseOpsworksSecurityGroups terra.BoolValue `hcl:"use_opsworks_security_groups,attr"` // VpcId: string, optional VpcId terra.StringValue `hcl:"vpc_id,attr"` // CustomCookbooksSource: optional CustomCookbooksSource *CustomCookbooksSource `hcl:"custom_cookbooks_source,block"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for aws_opsworks_stack.
type CustomCookbooksSource ¶
type CustomCookbooksSource struct { // Password: string, optional Password terra.StringValue `hcl:"password,attr"` // Revision: string, optional Revision terra.StringValue `hcl:"revision,attr"` // SshKey: string, optional SshKey terra.StringValue `hcl:"ssh_key,attr"` // Type: string, required Type terra.StringValue `hcl:"type,attr" validate:"required"` // Url: string, required Url terra.StringValue `hcl:"url,attr" validate:"required"` // Username: string, optional Username terra.StringValue `hcl:"username,attr"` }
type CustomCookbooksSourceAttributes ¶
type CustomCookbooksSourceAttributes struct {
// contains filtered or unexported fields
}
func (CustomCookbooksSourceAttributes) InternalRef ¶
func (ccs CustomCookbooksSourceAttributes) InternalRef() (terra.Reference, error)
func (CustomCookbooksSourceAttributes) InternalTokens ¶
func (ccs CustomCookbooksSourceAttributes) InternalTokens() (hclwrite.Tokens, error)
func (CustomCookbooksSourceAttributes) InternalWithRef ¶
func (ccs CustomCookbooksSourceAttributes) InternalWithRef(ref terra.Reference) CustomCookbooksSourceAttributes
func (CustomCookbooksSourceAttributes) Password ¶
func (ccs CustomCookbooksSourceAttributes) Password() terra.StringValue
func (CustomCookbooksSourceAttributes) Revision ¶
func (ccs CustomCookbooksSourceAttributes) Revision() terra.StringValue
func (CustomCookbooksSourceAttributes) SshKey ¶
func (ccs CustomCookbooksSourceAttributes) SshKey() terra.StringValue
func (CustomCookbooksSourceAttributes) Type ¶
func (ccs CustomCookbooksSourceAttributes) Type() terra.StringValue
func (CustomCookbooksSourceAttributes) Url ¶
func (ccs CustomCookbooksSourceAttributes) Url() terra.StringValue
func (CustomCookbooksSourceAttributes) Username ¶
func (ccs CustomCookbooksSourceAttributes) Username() 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 aws_opsworks_stack.
func (*Resource) Attributes ¶
func (aos *Resource) Attributes() awsOpsworksStackAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (aos *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (aos *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"` }
type TimeoutsAttributes ¶
type TimeoutsAttributes struct {
// contains filtered or unexported fields
}
func (TimeoutsAttributes) Create ¶
func (t TimeoutsAttributes) Create() 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 ¶
type TimeoutsState struct {
Create string `json:"create"`
}
Click to show internal directories.
Click to hide internal directories.