Documentation ¶
Index ¶
- Constants
- Variables
- func StringValue(value *string) string
- type ACMGenerator
- type APIGatewayGenerator
- type AWSProvider
- func (p *AWSProvider) GetBasicConfig() cty.Value
- func (p *AWSProvider) GetConfig() cty.Value
- func (p *AWSProvider) GetName() string
- func (p AWSProvider) GetProviderData(arg ...string) map[string]interface{}
- func (p AWSProvider) GetResourceConnections() map[string]map[string][]string
- func (p *AWSProvider) GetSupportedService() map[string]terraformutils.ServiceGenerator
- func (p *AWSProvider) Init(args []string) error
- func (p *AWSProvider) InitService(serviceName string, verbose bool) error
- type AWSService
- type AccessAnalyzerGenerator
- type AlbGenerator
- type AppSyncGenerator
- type AutoScalingGenerator
- type AwsFacade
- func (s *AwsFacade) GetArgs() map[string]interface{}
- func (s *AwsFacade) GetName() string
- func (s *AwsFacade) GetResources() []terraformutils.Resource
- func (s *AwsFacade) InitResources() error
- func (s *AwsFacade) InitialCleanup()
- func (s *AwsFacade) ParseFilter(rawFilter string) []terraformutils.ResourceFilter
- func (s *AwsFacade) ParseFilters(rawFilters []string)
- func (s *AwsFacade) PopulateIgnoreKeys(providerWrapper *providerwrapper.ProviderWrapper)
- func (s *AwsFacade) PostConvertHook() error
- func (s *AwsFacade) PostRefreshCleanup()
- func (s *AwsFacade) SetArgs(args map[string]interface{})
- func (s *AwsFacade) SetName(name string)
- func (s *AwsFacade) SetProviderName(providerName string)
- func (s *AwsFacade) SetResources(resources []terraformutils.Resource)
- func (s *AwsFacade) SetVerbose(verbose bool)
- type BatchGenerator
- type BeanstalkGenerator
- type BudgetsGenerator
- type ByGroupPair
- type Cloud9Generator
- type CloudFormationGenerator
- type CloudFrontGenerator
- type CloudHsmGenerator
- type CloudTrailGenerator
- type CloudWatchGenerator
- type CodeBuildGenerator
- type CodeCommitGenerator
- type CodeDeployGenerator
- type CodePipelineGenerator
- type CognitoGenerator
- type ConfigGenerator
- type CustomerGatewayGenerator
- type DataPipelineGenerator
- type DeviceFarmGenerator
- type DocDBGenerator
- type DynamoDbGenerator
- type EbsGenerator
- type Ec2Generator
- type EcrGenerator
- type EcrPublicGenerator
- type EcsGenerator
- type EfsGenerator
- type EksGenerator
- type ElastiCacheGenerator
- type ElasticIPGenerator
- type ElbGenerator
- type EmrGenerator
- type EniGenerator
- type EsGenerator
- type FirehoseGenerator
- type GlueGenerator
- type IamGenerator
- type IgwGenerator
- type IotGenerator
- type KinesisGenerator
- type KmsGenerator
- type LambdaGenerator
- type LogsGenerator
- type MediaPackageGenerator
- type MediaStoreGenerator
- type MskGenerator
- type NaclGenerator
- type NatGatewayGenerator
- type OpsworksGenerator
- type OrganizationGenerator
- type Policy
- type QLDBGenerator
- type RDSGenerator
- type RedshiftGenerator
- type ResourceGroupsGenerator
- type Route53Generator
- type RouteTableGenerator
- type S3Generator
- type SWFGenerator
- type SecretsManagerGenerator
- type SecurityGenerator
- type SecurityhubGenerator
- type ServiceCatalogGenerator
- type SesGenerator
- type SfnGenerator
- type SnsGenerator
- type SqsGenerator
- type SsmGenerator
- type Statement
- type SubnetGenerator
- type TransitGatewayGenerator
- type VpcGenerator
- type VpcPeeringConnectionGenerator
- type VpnConnectionGenerator
- type VpnGatewayGenerator
- type WafGenerator
- type WafRegionalGenerator
- type Wafv2Generator
- type WorkspacesGenerator
- type XrayGenerator
Constants ¶
const CognitoMaxResults = 60 // Required field for Cognito API
const GlobalRegion = "aws-global"
const MainRegionPublicPartition = "us-east-1"
const NoRegion = ""
Variables ¶
var AlbAllowEmptyValues = []string{"tags.", "^condition."}
var AsgAllowEmptyValues = []string{"tags."}
var BatchAdditionalFields = map[string]interface{}{}
var BatchAllowEmptyValues = []string{"tags."}
var CognitoAdditionalFields = map[string]interface{}{}
var CognitoAllowEmptyValues = []string{"tags."}
var ElbAllowEmptyValues = []string{"tags."}
var EniAllowEmptyValues = []string{"tags."}
var IamAdditionalFields = map[string]interface{}{}
var IamAllowEmptyValues = []string{"tags."}
var IgwAllowEmptyValues = []string{"tags."}
var NaclAllowEmptyValues = []string{"tags."}
var RDSAllowEmptyValues = []string{"tags."}
var RedshiftAllowEmptyValues = []string{"tags."}
var S3AdditionalFields = map[string]interface{}{}
var S3AllowEmptyValues = []string{"tags."}
var SgAllowEmptyValues = []string{"tags."}
var SubnetAllowEmptyValues = []string{"tags."}
var SupportedEastOnlyResources = []string{
"wafv2_cloudfront",
}
SupportedEastOnlyResources should be bound to us-east-1 region only, and does not work in any other region.
var SupportedGlobalResources = []string{
"budgets",
"cloudfront",
"ecrpublic",
"iam",
"organization",
"route53",
"waf",
}
SupportedGlobalResources should be bound to a default region. AWS doesn't specify in which region default services are placed (see https://docs.aws.amazon.com/general/latest/gr/rande.html), so we shouldn't assume any region as well
var VpcAllowEmptyValues = []string{"tags."}
var VpnAllowEmptyValues = []string{"tags."}
var VpnConnectionAllowEmptyValues = []string{"tags."}
Functions ¶
func StringValue ¶
Types ¶
type ACMGenerator ¶
type ACMGenerator struct {
AWSService
}
func (*ACMGenerator) InitResources ¶
func (g *ACMGenerator) InitResources() error
Generate TerraformResources from AWS API, create terraform resource for each certificates
type APIGatewayGenerator ¶
type APIGatewayGenerator struct {
AWSService
}
func (*APIGatewayGenerator) InitResources ¶
func (g *APIGatewayGenerator) InitResources() error
type AWSProvider ¶
type AWSProvider struct { terraformutils.Provider // contains filtered or unexported fields }
func (*AWSProvider) GetBasicConfig ¶
func (p *AWSProvider) GetBasicConfig() cty.Value
func (*AWSProvider) GetConfig ¶
func (p *AWSProvider) GetConfig() cty.Value
func (*AWSProvider) GetName ¶
func (p *AWSProvider) GetName() string
func (AWSProvider) GetProviderData ¶
func (p AWSProvider) GetProviderData(arg ...string) map[string]interface{}
func (AWSProvider) GetResourceConnections ¶
func (p AWSProvider) GetResourceConnections() map[string]map[string][]string
func (*AWSProvider) GetSupportedService ¶
func (p *AWSProvider) GetSupportedService() map[string]terraformutils.ServiceGenerator
GetAWSSupportService return map of support service for AWS
func (*AWSProvider) Init ¶
func (p *AWSProvider) Init(args []string) error
check projectName in env params
func (*AWSProvider) InitService ¶
func (p *AWSProvider) InitService(serviceName string, verbose bool) error
type AWSService ¶
type AWSService struct {
terraformutils.Service
}
type AccessAnalyzerGenerator ¶
type AccessAnalyzerGenerator struct {
AWSService
}
func (*AccessAnalyzerGenerator) InitResources ¶
func (g *AccessAnalyzerGenerator) InitResources() error
type AlbGenerator ¶
type AlbGenerator struct {
AWSService
}
func (*AlbGenerator) InitResources ¶
func (g *AlbGenerator) InitResources() error
Generate TerraformResources from AWS API,
func (*AlbGenerator) PostConvertHook ¶
func (g *AlbGenerator) PostConvertHook() error
type AppSyncGenerator ¶
type AppSyncGenerator struct {
AWSService
}
func (*AppSyncGenerator) InitResources ¶
func (g *AppSyncGenerator) InitResources() error
type AutoScalingGenerator ¶
type AutoScalingGenerator struct {
AWSService
}
func (*AutoScalingGenerator) InitResources ¶
func (g *AutoScalingGenerator) InitResources() error
Generate TerraformResources from AWS API, from each ASG create 1 TerraformResource. Need only ASG name as ID for terraform resource AWS api support paging
func (*AutoScalingGenerator) PostConvertHook ¶
func (g *AutoScalingGenerator) PostConvertHook() error
type AwsFacade ¶
type AwsFacade struct { AWSService // contains filtered or unexported fields }
func (*AwsFacade) GetResources ¶
func (s *AwsFacade) GetResources() []terraformutils.Resource
func (*AwsFacade) InitResources ¶
func (*AwsFacade) InitialCleanup ¶
func (s *AwsFacade) InitialCleanup()
func (*AwsFacade) ParseFilter ¶
func (s *AwsFacade) ParseFilter(rawFilter string) []terraformutils.ResourceFilter
func (*AwsFacade) ParseFilters ¶
func (*AwsFacade) PopulateIgnoreKeys ¶
func (s *AwsFacade) PopulateIgnoreKeys(providerWrapper *providerwrapper.ProviderWrapper)
func (*AwsFacade) PostConvertHook ¶
func (*AwsFacade) PostRefreshCleanup ¶
func (s *AwsFacade) PostRefreshCleanup()
func (*AwsFacade) SetProviderName ¶
func (*AwsFacade) SetResources ¶
func (s *AwsFacade) SetResources(resources []terraformutils.Resource)
func (*AwsFacade) SetVerbose ¶
type BatchGenerator ¶
type BatchGenerator struct {
AWSService
}
func (*BatchGenerator) InitResources ¶
func (g *BatchGenerator) InitResources() error
type BeanstalkGenerator ¶
type BeanstalkGenerator struct {
AWSService
}
func (*BeanstalkGenerator) InitResources ¶
func (g *BeanstalkGenerator) InitResources() error
type BudgetsGenerator ¶
type BudgetsGenerator struct {
AWSService
}
func (*BudgetsGenerator) InitResources ¶
func (g *BudgetsGenerator) InitResources() error
type ByGroupPair ¶
type ByGroupPair []types.UserIdGroupPair
func (ByGroupPair) Len ¶
func (b ByGroupPair) Len() int
func (ByGroupPair) Less ¶
func (b ByGroupPair) Less(i, j int) bool
func (ByGroupPair) Swap ¶
func (b ByGroupPair) Swap(i, j int)
type Cloud9Generator ¶
type Cloud9Generator struct {
AWSService
}
func (*Cloud9Generator) InitResources ¶
func (g *Cloud9Generator) InitResources() error
type CloudFormationGenerator ¶
type CloudFormationGenerator struct {
AWSService
}
func (*CloudFormationGenerator) InitResources ¶
func (g *CloudFormationGenerator) InitResources() error
func (*CloudFormationGenerator) PostConvertHook ¶
func (g *CloudFormationGenerator) PostConvertHook() error
type CloudFrontGenerator ¶
type CloudFrontGenerator struct {
AWSService
}
func (*CloudFrontGenerator) InitResources ¶
func (g *CloudFrontGenerator) InitResources() error
type CloudHsmGenerator ¶
type CloudHsmGenerator struct {
AWSService
}
func (*CloudHsmGenerator) InitResources ¶
func (g *CloudHsmGenerator) InitResources() error
type CloudTrailGenerator ¶
type CloudTrailGenerator struct {
AWSService
}
func (*CloudTrailGenerator) InitResources ¶
func (g *CloudTrailGenerator) InitResources() error
type CloudWatchGenerator ¶
type CloudWatchGenerator struct {
AWSService
}
func (*CloudWatchGenerator) InitResources ¶
func (g *CloudWatchGenerator) InitResources() error
type CodeBuildGenerator ¶
type CodeBuildGenerator struct {
AWSService
}
func (*CodeBuildGenerator) InitResources ¶
func (g *CodeBuildGenerator) InitResources() error
type CodeCommitGenerator ¶
type CodeCommitGenerator struct {
AWSService
}
func (*CodeCommitGenerator) InitResources ¶
func (g *CodeCommitGenerator) InitResources() error
type CodeDeployGenerator ¶
type CodeDeployGenerator struct {
AWSService
}
func (*CodeDeployGenerator) InitResources ¶
func (g *CodeDeployGenerator) InitResources() error
type CodePipelineGenerator ¶
type CodePipelineGenerator struct {
AWSService
}
func (*CodePipelineGenerator) InitResources ¶
func (g *CodePipelineGenerator) InitResources() error
type CognitoGenerator ¶
type CognitoGenerator struct {
AWSService
}
func (*CognitoGenerator) InitResources ¶
func (g *CognitoGenerator) InitResources() error
func (*CognitoGenerator) PostConvertHook ¶
func (g *CognitoGenerator) PostConvertHook() error
type ConfigGenerator ¶
type ConfigGenerator struct {
AWSService
}
func (*ConfigGenerator) InitResources ¶
func (g *ConfigGenerator) InitResources() error
type CustomerGatewayGenerator ¶
type CustomerGatewayGenerator struct {
AWSService
}
func (*CustomerGatewayGenerator) InitResources ¶
func (g *CustomerGatewayGenerator) InitResources() error
Generate TerraformResources from AWS API, from each customer gateway create 1 TerraformResource. Need CustomerGatewayId as ID for terraform resource
type DataPipelineGenerator ¶
type DataPipelineGenerator struct {
AWSService
}
func (*DataPipelineGenerator) InitResources ¶
func (g *DataPipelineGenerator) InitResources() error
type DeviceFarmGenerator ¶
type DeviceFarmGenerator struct {
AWSService
}
func (*DeviceFarmGenerator) InitResources ¶
func (g *DeviceFarmGenerator) InitResources() error
type DocDBGenerator ¶
type DocDBGenerator struct {
AWSService
}
func (*DocDBGenerator) InitResources ¶
func (g *DocDBGenerator) InitResources() error
func (*DocDBGenerator) PostConvertHook ¶
func (g *DocDBGenerator) PostConvertHook() error
PostConvertHook for add policy json as heredoc
type DynamoDbGenerator ¶
type DynamoDbGenerator struct {
AWSService
}
func (*DynamoDbGenerator) InitResources ¶
func (g *DynamoDbGenerator) InitResources() error
func (*DynamoDbGenerator) PostConvertHook ¶
func (g *DynamoDbGenerator) PostConvertHook() error
type EbsGenerator ¶
type EbsGenerator struct {
AWSService
}
func (*EbsGenerator) InitResources ¶
func (g *EbsGenerator) InitResources() error
type Ec2Generator ¶
type Ec2Generator struct {
AWSService
}
func (*Ec2Generator) InitResources ¶
func (g *Ec2Generator) InitResources() error
func (*Ec2Generator) PostConvertHook ¶
func (g *Ec2Generator) PostConvertHook() error
type EcrGenerator ¶
type EcrGenerator struct {
AWSService
}
func (*EcrGenerator) InitResources ¶
func (g *EcrGenerator) InitResources() error
func (*EcrGenerator) PostConvertHook ¶
func (g *EcrGenerator) PostConvertHook() error
type EcrPublicGenerator ¶
type EcrPublicGenerator struct {
AWSService
}
func (*EcrPublicGenerator) InitResources ¶
func (g *EcrPublicGenerator) InitResources() error
type EcsGenerator ¶
type EcsGenerator struct {
AWSService
}
func (*EcsGenerator) InitResources ¶
func (g *EcsGenerator) InitResources() error
func (*EcsGenerator) PostConvertHook ¶
func (g *EcsGenerator) PostConvertHook() error
type EfsGenerator ¶
type EfsGenerator struct {
AWSService
}
func (*EfsGenerator) InitResources ¶
func (g *EfsGenerator) InitResources() error
type EksGenerator ¶
type EksGenerator struct {
AWSService
}
func (*EksGenerator) InitResources ¶
func (g *EksGenerator) InitResources() error
func (*EksGenerator) PostConvertHook ¶
func (g *EksGenerator) PostConvertHook() error
type ElastiCacheGenerator ¶
type ElastiCacheGenerator struct {
AWSService
}
func (*ElastiCacheGenerator) InitResources ¶
func (g *ElastiCacheGenerator) InitResources() error
Generate TerraformResources from AWS API, from each database create 1 TerraformResource. Need only database name as ID for terraform resource AWS api support paging
func (*ElastiCacheGenerator) PostConvertHook ¶
func (g *ElastiCacheGenerator) PostConvertHook() error
type ElasticIPGenerator ¶
type ElasticIPGenerator struct {
AWSService
}
func (*ElasticIPGenerator) InitResources ¶
func (g *ElasticIPGenerator) InitResources() error
Generate TerraformResources from AWS API, create terraform resource for each elastic IPs
type ElbGenerator ¶
type ElbGenerator struct {
AWSService
}
func (*ElbGenerator) InitResources ¶
func (g *ElbGenerator) InitResources() error
Generate TerraformResources from AWS API, from each ELB create 1 TerraformResource. Need only ELB name as ID for terraform resource AWS api support paging
type EmrGenerator ¶
type EmrGenerator struct {
AWSService
}
func (*EmrGenerator) InitResources ¶
func (g *EmrGenerator) InitResources() error
type EniGenerator ¶
type EniGenerator struct {
AWSService
}
func (*EniGenerator) InitResources ¶
func (g *EniGenerator) InitResources() error
Generate TerraformResources from AWS API, from each ENI creates 1 TerraformResource.
func (*EniGenerator) PostConvertHook ¶
func (g *EniGenerator) PostConvertHook() error
type EsGenerator ¶
type EsGenerator struct {
AWSService
}
func (*EsGenerator) InitResources ¶
func (g *EsGenerator) InitResources() error
func (*EsGenerator) PostConvertHook ¶
func (g *EsGenerator) PostConvertHook() error
type FirehoseGenerator ¶
type FirehoseGenerator struct {
AWSService
}
func (*FirehoseGenerator) InitResources ¶
func (g *FirehoseGenerator) InitResources() error
Generate TerraformResources from AWS API, Need deliver stream name for terraform resource
func (*FirehoseGenerator) PostConvertHook ¶
func (g *FirehoseGenerator) PostConvertHook() error
type GlueGenerator ¶
type GlueGenerator struct {
AWSService
}
func (*GlueGenerator) InitResources ¶
func (g *GlueGenerator) InitResources() error
Generate TerraformResources from AWS API, from each database create 1 TerraformResource. Need only database name as ID for terraform resource AWS api support paging
type IamGenerator ¶
type IamGenerator struct {
AWSService
}
func (*IamGenerator) InitResources ¶
func (g *IamGenerator) InitResources() error
func (*IamGenerator) PostConvertHook ¶
func (g *IamGenerator) PostConvertHook() error
PostGenerateHook for add policy json as heredoc
type IgwGenerator ¶
type IgwGenerator struct {
AWSService
}
func (*IgwGenerator) InitResources ¶
func (g *IgwGenerator) InitResources() error
type IotGenerator ¶
type IotGenerator struct {
AWSService
}
func (*IotGenerator) InitResources ¶
func (g *IotGenerator) InitResources() error
type KinesisGenerator ¶
type KinesisGenerator struct {
AWSService
}
func (*KinesisGenerator) InitResources ¶
func (g *KinesisGenerator) InitResources() error
type KmsGenerator ¶
type KmsGenerator struct {
AWSService
}
func (*KmsGenerator) InitResources ¶
func (g *KmsGenerator) InitResources() error
type LambdaGenerator ¶
type LambdaGenerator struct {
AWSService
}
func (*LambdaGenerator) InitResources ¶
func (g *LambdaGenerator) InitResources() error
func (*LambdaGenerator) PostConvertHook ¶
func (g *LambdaGenerator) PostConvertHook() error
type LogsGenerator ¶
type LogsGenerator struct {
AWSService
}
func (*LogsGenerator) InitResources ¶
func (g *LogsGenerator) InitResources() error
Generate TerraformResources from AWS API
func (*LogsGenerator) PostConvertHook ¶
func (g *LogsGenerator) PostConvertHook() error
remove retention_in_days if it is 0 (it gets added by the "refresh" stage)
type MediaPackageGenerator ¶
type MediaPackageGenerator struct {
AWSService
}
func (*MediaPackageGenerator) InitResources ¶
func (g *MediaPackageGenerator) InitResources() error
type MediaStoreGenerator ¶
type MediaStoreGenerator struct {
AWSService
}
func (*MediaStoreGenerator) InitResources ¶
func (g *MediaStoreGenerator) InitResources() error
type MskGenerator ¶
type MskGenerator struct {
AWSService
}
func (*MskGenerator) InitResources ¶
func (g *MskGenerator) InitResources() error
func (*MskGenerator) PostConvertHook ¶
func (g *MskGenerator) PostConvertHook() error
type NaclGenerator ¶
type NaclGenerator struct {
AWSService
}
func (*NaclGenerator) InitResources ¶
func (g *NaclGenerator) InitResources() error
Generate TerraformResources from AWS API, from each network ACL create 1 TerraformResource. Need NetworkAclId as ID for terraform resource
type NatGatewayGenerator ¶
type NatGatewayGenerator struct {
AWSService
}
func (*NatGatewayGenerator) InitResources ¶
func (g *NatGatewayGenerator) InitResources() error
Generate TerraformResources from AWS API, create terraform resource for each NAT Gateways
type OpsworksGenerator ¶
type OpsworksGenerator struct {
AWSService
}
func (*OpsworksGenerator) InitResources ¶
func (g *OpsworksGenerator) InitResources() error
type OrganizationGenerator ¶
type OrganizationGenerator struct {
AWSService
}
func (*OrganizationGenerator) InitResources ¶
func (g *OrganizationGenerator) InitResources() error
type QLDBGenerator ¶
type QLDBGenerator struct {
AWSService
}
func (*QLDBGenerator) InitResources ¶
func (g *QLDBGenerator) InitResources() error
type RDSGenerator ¶
type RDSGenerator struct {
AWSService
}
func (*RDSGenerator) InitResources ¶
func (g *RDSGenerator) InitResources() error
Generate TerraformResources from AWS API, from each database create 1 TerraformResource. Need only database name as ID for terraform resource AWS api support paging
func (*RDSGenerator) PostConvertHook ¶
func (g *RDSGenerator) PostConvertHook() error
type RedshiftGenerator ¶
type RedshiftGenerator struct {
AWSService
}
func (*RedshiftGenerator) InitResources ¶
func (g *RedshiftGenerator) InitResources() error
Generate TerraformResources from AWS API, from each database create 1 TerraformResource. Need only database name as ID for terraform resource AWS api support paging
func (*RedshiftGenerator) PostConvertHook ¶
func (g *RedshiftGenerator) PostConvertHook() error
type ResourceGroupsGenerator ¶
type ResourceGroupsGenerator struct {
AWSService
}
func (*ResourceGroupsGenerator) InitResources ¶
func (g *ResourceGroupsGenerator) InitResources() error
type Route53Generator ¶
type Route53Generator struct {
AWSService
}
func (*Route53Generator) InitResources ¶
func (g *Route53Generator) InitResources() error
Generate TerraformResources from AWS API, create terraform resource for each zone + each record
func (*Route53Generator) PostConvertHook ¶
func (g *Route53Generator) PostConvertHook() error
type RouteTableGenerator ¶
type RouteTableGenerator struct {
AWSService
}
func (*RouteTableGenerator) InitResources ¶
func (g *RouteTableGenerator) InitResources() error
Generate TerraformResources from AWS API, create terraform resource for each route tables
type S3Generator ¶
type S3Generator struct {
AWSService
}
func (*S3Generator) InitResources ¶
func (g *S3Generator) InitResources() error
Generate TerraformResources from AWS API, Need bucket name as ID for terraform resource
func (*S3Generator) PostConvertHook ¶
func (g *S3Generator) PostConvertHook() error
PostGenerateHook for add bucket policy json as heredoc support only bucket with policy
type SWFGenerator ¶
type SWFGenerator struct {
AWSService
}
func (*SWFGenerator) InitResources ¶
func (g *SWFGenerator) InitResources() error
type SecretsManagerGenerator ¶
type SecretsManagerGenerator struct {
AWSService
}
func (*SecretsManagerGenerator) InitResources ¶
func (g *SecretsManagerGenerator) InitResources() error
type SecurityGenerator ¶
type SecurityGenerator struct {
AWSService
}
func (*SecurityGenerator) InitResources ¶
func (g *SecurityGenerator) InitResources() error
func (*SecurityGenerator) PostConvertHook ¶
func (g *SecurityGenerator) PostConvertHook() error
type SecurityhubGenerator ¶
type SecurityhubGenerator struct {
AWSService
}
func (*SecurityhubGenerator) InitResources ¶
func (g *SecurityhubGenerator) InitResources() error
type ServiceCatalogGenerator ¶
type ServiceCatalogGenerator struct {
AWSService
}
func (*ServiceCatalogGenerator) InitResources ¶
func (g *ServiceCatalogGenerator) InitResources() error
type SesGenerator ¶
type SesGenerator struct {
AWSService
}
func (*SesGenerator) InitResources ¶
func (g *SesGenerator) InitResources() error
type SfnGenerator ¶
type SfnGenerator struct {
AWSService
}
func (*SfnGenerator) InitResources ¶
func (g *SfnGenerator) InitResources() error
type SnsGenerator ¶
type SnsGenerator struct {
AWSService
}
func (*SnsGenerator) InitResources ¶
func (g *SnsGenerator) InitResources() error
func (*SnsGenerator) PostConvertHook ¶
func (g *SnsGenerator) PostConvertHook() error
PostConvertHook for add policy json as heredoc
type SqsGenerator ¶
type SqsGenerator struct {
AWSService
}
func (*SqsGenerator) InitResources ¶
func (g *SqsGenerator) InitResources() error
func (*SqsGenerator) PostConvertHook ¶
func (g *SqsGenerator) PostConvertHook() error
PostConvertHook for add policy json as heredoc
type SsmGenerator ¶
type SsmGenerator struct {
AWSService
}
func (*SsmGenerator) InitResources ¶
func (g *SsmGenerator) InitResources() error
type SubnetGenerator ¶
type SubnetGenerator struct {
AWSService
}
func (*SubnetGenerator) InitResources ¶
func (g *SubnetGenerator) InitResources() error
Generate TerraformResources from AWS API, from each subnet create 1 TerraformResource. Need SubnetId as ID for terraform resource
type TransitGatewayGenerator ¶
type TransitGatewayGenerator struct {
AWSService
}
func (*TransitGatewayGenerator) InitResources ¶
func (g *TransitGatewayGenerator) InitResources() error
Generate TerraformResources from AWS API, from each customer gateway create 1 TerraformResource. Need CustomerGatewayId as ID for terraform resource
type VpcGenerator ¶
type VpcGenerator struct {
AWSService
}
func (*VpcGenerator) InitResources ¶
func (g *VpcGenerator) InitResources() error
Generate TerraformResources from AWS API, from each vpc create 1 TerraformResource. Need VpcId as ID for terraform resource
type VpcPeeringConnectionGenerator ¶
type VpcPeeringConnectionGenerator struct {
AWSService
}
func (*VpcPeeringConnectionGenerator) InitResources ¶
func (g *VpcPeeringConnectionGenerator) InitResources() error
Generate TerraformResources from AWS API, create terraform resource for each VPC Peering Connection
type VpnConnectionGenerator ¶
type VpnConnectionGenerator struct {
AWSService
}
func (*VpnConnectionGenerator) InitResources ¶
func (g *VpnConnectionGenerator) InitResources() error
Generate TerraformResources from AWS API, from each vpn connection create 1 TerraformResource. Need VpnConnectionId as ID for terraform resource
type VpnGatewayGenerator ¶
type VpnGatewayGenerator struct {
AWSService
}
func (*VpnGatewayGenerator) InitResources ¶
func (g *VpnGatewayGenerator) InitResources() error
Generate TerraformResources from AWS API, from each vpn gateway create 1 TerraformResource. Need VpnGatewayId as ID for terraform resource
type WafGenerator ¶
type WafGenerator struct {
AWSService
}
func (*WafGenerator) InitResources ¶
func (g *WafGenerator) InitResources() error
type WafRegionalGenerator ¶
type WafRegionalGenerator struct {
AWSService
}
func (*WafRegionalGenerator) InitResources ¶
func (g *WafRegionalGenerator) InitResources() error
type Wafv2Generator ¶
type Wafv2Generator struct { AWSService // contains filtered or unexported fields }
func NewWafv2CloudfrontGenerator ¶
func NewWafv2CloudfrontGenerator() *Wafv2Generator
func NewWafv2RegionalGenerator ¶
func NewWafv2RegionalGenerator() *Wafv2Generator
func (*Wafv2Generator) InitResources ¶
func (g *Wafv2Generator) InitResources() error
type WorkspacesGenerator ¶
type WorkspacesGenerator struct {
AWSService
}
func (*WorkspacesGenerator) InitResources ¶
func (g *WorkspacesGenerator) InitResources() error
type XrayGenerator ¶
type XrayGenerator struct {
AWSService
}
func (*XrayGenerator) InitResources ¶
func (g *XrayGenerator) InitResources() error
Source Files ¶
- accessanalyzer.go
- acm.go
- alb.go
- api_gateway.go
- appsync.go
- autoscaling.go
- aws_facade.go
- aws_provider.go
- aws_service.go
- batch.go
- budgets.go
- cloud9.go
- cloud_front.go
- cloudformation.go
- cloudhsm.go
- cloudtrail.go
- cloudwatch.go
- codebuild.go
- codecommit.go
- codedeploy.go
- codepipeline.go
- cognito.go
- config.go
- customer_gateway.go
- datapipeline.go
- devicefarm.go
- docdb.go
- dynamodb.go
- ebs.go
- ec2.go
- ecr.go
- ecrpublic.go
- ecs.go
- efs.go
- eip.go
- eks.go
- elastic_beanstalk.go
- elasticache.go
- elb.go
- emr.go
- eni.go
- es.go
- firehose.go
- glue.go
- iam.go
- igw.go
- iot.go
- kinesis.go
- kms.go
- lambda.go
- logs.go
- media_package.go
- media_store.go
- msk.go
- nacl.go
- nat_gateway.go
- opsworks.go
- organization.go
- qldb.go
- rds.go
- redshift.go
- resourcegroups.go
- route53.go
- route_table.go
- s3.go
- secretsmanager.go
- securityhub.go
- servicecatalog.go
- ses.go
- sfn.go
- sg.go
- sns.go
- sqs.go
- ssm.go
- subnet.go
- swf.go
- transit_gateway.go
- vgw.go
- vpc.go
- vpc_peering.go
- vpn_connection.go
- waf.go
- waf_regional.go
- wafv2.go
- workspaces.go
- xray.go