Documentation
¶
Index ¶
- func InstanceResourceSchema(ctx context.Context) schema.Schema
- type DataType
- func (t DataType) Equal(o attr.Type) bool
- func (t DataType) String() string
- func (t DataType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
- func (t DataType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)
- func (t DataType) ValueType(ctx context.Context) attr.Value
- type DataValue
- func (v DataValue) AttributeTypes(ctx context.Context) map[string]attr.Type
- func (v DataValue) Equal(o attr.Value) bool
- func (v DataValue) IsNull() bool
- func (v DataValue) IsUnknown() bool
- func (v DataValue) String() string
- func (v DataValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
- func (v DataValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)
- func (v DataValue) Type(ctx context.Context) attr.Type
- type InstanceModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DataType ¶
type DataType struct {
basetypes.ObjectType
}
func (DataType) ValueFromObject ¶
func (t DataType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
func (DataType) ValueFromTerraform ¶
type DataValue ¶
type DataValue struct {
InstanceIds basetypes.ListValue `tfsdk:"instance_ids"`
// contains filtered or unexported fields
}
func NewDataValue ¶
func NewDataValueMust ¶
func NewDataValueNull ¶
func NewDataValueNull() DataValue
func NewDataValueUnknown ¶
func NewDataValueUnknown() DataValue
func (DataValue) AttributeTypes ¶
func (DataValue) ToObjectValue ¶
func (v DataValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
func (DataValue) ToTerraformValue ¶
type InstanceModel ¶
type InstanceModel struct {
Data DataValue `tfsdk:"data"`
FileSystemNames types.List `tfsdk:"file_system_names"`
InstanceId types.String `tfsdk:"instance_id"`
InstanceTypeName types.String `tfsdk:"instance_type_name"`
Name types.String `tfsdk:"name"`
RegionName types.String `tfsdk:"region_name"`
SshKeyNames types.List `tfsdk:"ssh_key_names"`
}
Click to show internal directories.
Click to hide internal directories.