driftctl/pkg/resource/aws/aws_key_pair.go

24 lines
761 B
Go
Raw Normal View History

// GENERATED, DO NOT EDIT THIS FILE
package aws
const AwsKeyPairResourceType = "aws_key_pair"
type AwsKeyPair struct {
Arn *string `cty:"arn" computed:"true"`
Fingerprint *string `cty:"fingerprint" computed:"true"`
Id string `cty:"id" computed:"true"`
KeyName *string `cty:"key_name" computed:"true"`
KeyNamePrefix *string `cty:"key_name_prefix" diff:"-"`
KeyPairId *string `cty:"key_pair_id" computed:"true"`
PublicKey *string `cty:"public_key" diff:"-"`
Tags map[string]string `cty:"tags"`
}
func (r *AwsKeyPair) TerraformId() string {
return r.Id
}
func (r *AwsKeyPair) TerraformType() string {
return AwsKeyPairResourceType
}