Documentation ¶
Index ¶
- func CloudFormationPropertyToTerraformAttribute(propertyName string) string
- func CreateTerraformTypeName(org, svc, res string) string
- func ParseCloudFormationTypeName(typeName string) (string, string, string, error)
- func ParseTerraformTypeName(typeName string) (string, string, string, error)
- func TerraformAttributeToCloudFormationProperty(attributeName string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CloudFormationPropertyToTerraformAttribute ¶
CloudFormationPropertyToTerraformAttribute converts a CloudFormation property name to a Terraform attribute name. For example `GlobalReplicationGroupDescription` -> `global_replication_group_description`.
func CreateTerraformTypeName ¶
CreateTerraformTypeName creates a Terraform resource type name from 3 parts - Organization, Service and Resource.
func ParseCloudFormationTypeName ¶
ParseCloudFormationTypeName parses a CloudFormation resource type name into 3 parts - Organization, Service and Resource. See https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/resource-type-schema.html#schema-properties-typeName.
func ParseTerraformTypeName ¶
ParseTerraformTypeName parses a Terraform resource type name into 3 parts - Organization, Service and Resource.
func TerraformAttributeToCloudFormationProperty ¶
TerraformAttributeToCloudFormationProperty converts a Terraform attribute name to a CloudFormation property name. For example `global_replication_group_description` -> `GlobalReplicationGroupDescription`.
Types ¶
This section is empty.