@ -73,7 +73,6 @@ type FlatConfig struct {
ProfileName * string ` mapstructure:"profile" required:"false" cty:"profile" hcl:"profile" `
RawRegion * string ` mapstructure:"region" required:"true" cty:"region" hcl:"region" `
SecretKey * string ` mapstructure:"secret_key" required:"true" cty:"secret_key" hcl:"secret_key" `
SkipValidation * bool ` mapstructure:"skip_region_validation" required:"false" cty:"skip_region_validation" hcl:"skip_region_validation" `
SkipMetadataApiCheck * bool ` mapstructure:"skip_metadata_api_check" cty:"skip_metadata_api_check" hcl:"skip_metadata_api_check" `
SkipCredsValidation * bool ` mapstructure:"skip_credential_validation" cty:"skip_credential_validation" hcl:"skip_credential_validation" `
Token * string ` mapstructure:"token" required:"false" cty:"token" hcl:"token" `
@ -105,7 +104,6 @@ type FlatConfig struct {
SubnetFilter * common . FlatSubnetFilterOptions ` mapstructure:"subnet_filter" required:"false" cty:"subnet_filter" hcl:"subnet_filter" `
SubnetId * string ` mapstructure:"subnet_id" required:"false" cty:"subnet_id" hcl:"subnet_id" `
Tenancy * string ` mapstructure:"tenancy" required:"false" cty:"tenancy" hcl:"tenancy" `
TemporaryKeyPairName * string ` mapstructure:"temporary_key_pair_name" required:"false" cty:"temporary_key_pair_name" hcl:"temporary_key_pair_name" `
TemporarySGSourceCidrs [ ] string ` mapstructure:"temporary_security_group_source_cidrs" required:"false" cty:"temporary_security_group_source_cidrs" hcl:"temporary_security_group_source_cidrs" `
UserData * string ` mapstructure:"user_data" required:"false" cty:"user_data" hcl:"user_data" `
UserDataFile * string ` mapstructure:"user_data_file" required:"false" cty:"user_data_file" hcl:"user_data_file" `
@ -119,6 +117,7 @@ type FlatConfig struct {
SSHUsername * string ` mapstructure:"ssh_username" cty:"ssh_username" hcl:"ssh_username" `
SSHPassword * string ` mapstructure:"ssh_password" cty:"ssh_password" hcl:"ssh_password" `
SSHKeyPairName * string ` mapstructure:"ssh_keypair_name" undocumented:"true" cty:"ssh_keypair_name" hcl:"ssh_keypair_name" `
SSHTemporaryKeyPairName * string ` mapstructure:"temporary_key_pair_name" undocumented:"true" cty:"temporary_key_pair_name" hcl:"temporary_key_pair_name" `
SSHTemporaryKeyPairType * string ` mapstructure:"temporary_key_pair_type" cty:"temporary_key_pair_type" hcl:"temporary_key_pair_type" `
SSHTemporaryKeyPairBits * int ` mapstructure:"temporary_key_pair_bits" cty:"temporary_key_pair_bits" hcl:"temporary_key_pair_bits" `
SSHCiphers [ ] string ` mapstructure:"ssh_ciphers" cty:"ssh_ciphers" hcl:"ssh_ciphers" `
@ -170,6 +169,7 @@ type FlatConfig struct {
AMIGroups [ ] string ` mapstructure:"ami_groups" required:"false" cty:"ami_groups" hcl:"ami_groups" `
AMIProductCodes [ ] string ` mapstructure:"ami_product_codes" required:"false" cty:"ami_product_codes" hcl:"ami_product_codes" `
AMIRegions [ ] string ` mapstructure:"ami_regions" required:"false" cty:"ami_regions" hcl:"ami_regions" `
AMISkipRegionValidation * bool ` mapstructure:"skip_region_validation" required:"false" cty:"skip_region_validation" hcl:"skip_region_validation" `
AMITags map [ string ] string ` mapstructure:"tags" required:"false" cty:"tags" hcl:"tags" `
AMITag [ ] hcl2template . FlatKeyValue ` mapstructure:"tag" required:"false" cty:"tag" hcl:"tag" `
AMIENASupport * bool ` mapstructure:"ena_support" required:"false" cty:"ena_support" hcl:"ena_support" `
@ -223,7 +223,6 @@ func (*FlatConfig) HCL2Spec() map[string]hcldec.Spec {
"profile" : & hcldec . AttrSpec { Name : "profile" , Type : cty . String , Required : false } ,
"region" : & hcldec . AttrSpec { Name : "region" , Type : cty . String , Required : false } ,
"secret_key" : & hcldec . AttrSpec { Name : "secret_key" , Type : cty . String , Required : false } ,
"skip_region_validation" : & hcldec . AttrSpec { Name : "skip_region_validation" , Type : cty . Bool , Required : false } ,
"skip_metadata_api_check" : & hcldec . AttrSpec { Name : "skip_metadata_api_check" , Type : cty . Bool , Required : false } ,
"skip_credential_validation" : & hcldec . AttrSpec { Name : "skip_credential_validation" , Type : cty . Bool , Required : false } ,
"token" : & hcldec . AttrSpec { Name : "token" , Type : cty . String , Required : false } ,
@ -255,7 +254,6 @@ func (*FlatConfig) HCL2Spec() map[string]hcldec.Spec {
"subnet_filter" : & hcldec . BlockSpec { TypeName : "subnet_filter" , Nested : hcldec . ObjectSpec ( ( * common . FlatSubnetFilterOptions ) ( nil ) . HCL2Spec ( ) ) } ,
"subnet_id" : & hcldec . AttrSpec { Name : "subnet_id" , Type : cty . String , Required : false } ,
"tenancy" : & hcldec . AttrSpec { Name : "tenancy" , Type : cty . String , Required : false } ,
"temporary_key_pair_name" : & hcldec . AttrSpec { Name : "temporary_key_pair_name" , Type : cty . String , Required : false } ,
"temporary_security_group_source_cidrs" : & hcldec . AttrSpec { Name : "temporary_security_group_source_cidrs" , Type : cty . List ( cty . String ) , Required : false } ,
"user_data" : & hcldec . AttrSpec { Name : "user_data" , Type : cty . String , Required : false } ,
"user_data_file" : & hcldec . AttrSpec { Name : "user_data_file" , Type : cty . String , Required : false } ,
@ -269,6 +267,7 @@ func (*FlatConfig) HCL2Spec() map[string]hcldec.Spec {
"ssh_username" : & hcldec . AttrSpec { Name : "ssh_username" , Type : cty . String , Required : false } ,
"ssh_password" : & hcldec . AttrSpec { Name : "ssh_password" , Type : cty . String , Required : false } ,
"ssh_keypair_name" : & hcldec . AttrSpec { Name : "ssh_keypair_name" , Type : cty . String , Required : false } ,
"temporary_key_pair_name" : & hcldec . AttrSpec { Name : "temporary_key_pair_name" , Type : cty . String , Required : false } ,
"temporary_key_pair_type" : & hcldec . AttrSpec { Name : "temporary_key_pair_type" , Type : cty . String , Required : false } ,
"temporary_key_pair_bits" : & hcldec . AttrSpec { Name : "temporary_key_pair_bits" , Type : cty . Number , Required : false } ,
"ssh_ciphers" : & hcldec . AttrSpec { Name : "ssh_ciphers" , Type : cty . List ( cty . String ) , Required : false } ,
@ -320,6 +319,7 @@ func (*FlatConfig) HCL2Spec() map[string]hcldec.Spec {
"ami_groups" : & hcldec . AttrSpec { Name : "ami_groups" , Type : cty . List ( cty . String ) , Required : false } ,
"ami_product_codes" : & hcldec . AttrSpec { Name : "ami_product_codes" , Type : cty . List ( cty . String ) , Required : false } ,
"ami_regions" : & hcldec . AttrSpec { Name : "ami_regions" , Type : cty . List ( cty . String ) , Required : false } ,
"skip_region_validation" : & hcldec . AttrSpec { Name : "skip_region_validation" , Type : cty . Bool , Required : false } ,
"tags" : & hcldec . AttrSpec { Name : "tags" , Type : cty . Map ( cty . String ) , Required : false } ,
"tag" : & hcldec . BlockListSpec { TypeName : "tag" , Nested : hcldec . ObjectSpec ( ( * hcl2template . FlatKeyValue ) ( nil ) . HCL2Spec ( ) ) } ,
"ena_support" : & hcldec . AttrSpec { Name : "ena_support" , Type : cty . Bool , Required : false } ,