aws

package
v0.0.0-...-ec2e68e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 7, 2023 License: Apache-2.0 Imports: 111 Imported by: 0

Documentation

Index

Constants

View Source
const CognitoMaxResults = 60 // Required field for Cognito API
View Source
const GlobalRegion = "aws-global"
View Source
const MainRegionPublicPartition = "us-east-1"
View Source
const NoRegion = ""

Variables

View Source
var AlbAllowEmptyValues = []string{"tags.", "^condition."}
View Source
var AsgAllowEmptyValues = []string{"tags."}
View Source
var BatchAdditionalFields = map[string]interface{}{}
View Source
var BatchAllowEmptyValues = []string{"tags."}
View Source
var CognitoAdditionalFields = map[string]interface{}{}
View Source
var CognitoAllowEmptyValues = []string{"tags."}
View Source
var ElbAllowEmptyValues = []string{"tags."}
View Source
var EniAllowEmptyValues = []string{"tags."}
View Source
var IamAdditionalFields = map[string]interface{}{}
View Source
var IamAllowEmptyValues = []string{"tags."}
View Source
var IgwAllowEmptyValues = []string{"tags."}
View Source
var NaclAllowEmptyValues = []string{"tags."}
View Source
var RDSAllowEmptyValues = []string{"tags."}
View Source
var RedshiftAllowEmptyValues = []string{"tags."}
View Source
var S3AdditionalFields = map[string]interface{}{}
View Source
var S3AllowEmptyValues = []string{"tags."}
View Source
var SgAllowEmptyValues = []string{"tags."}
View Source
var SubnetAllowEmptyValues = []string{"tags."}
View Source
var SupportedEastOnlyResources = []string{
	"wafv2_cloudfront",
}

SupportedEastOnlyResources should be bound to us-east-1 region only, and does not work in any other region.

View Source
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

View Source
var VpcAllowEmptyValues = []string{"tags."}
View Source
var VpnAllowEmptyValues = []string{"tags."}
View Source
var VpnConnectionAllowEmptyValues = []string{"tags."}

Functions

func StringValue

func StringValue(value *string) string

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) GetArgs

func (s *AwsFacade) GetArgs() map[string]interface{}

func (*AwsFacade) GetName

func (s *AwsFacade) GetName() string

func (*AwsFacade) GetResources

func (s *AwsFacade) GetResources() []terraformutils.Resource

func (*AwsFacade) InitResources

func (s *AwsFacade) InitResources() error

func (*AwsFacade) InitialCleanup

func (s *AwsFacade) InitialCleanup()

func (*AwsFacade) ParseFilter

func (s *AwsFacade) ParseFilter(rawFilter string) []terraformutils.ResourceFilter

func (*AwsFacade) ParseFilters

func (s *AwsFacade) ParseFilters(rawFilters []string)

func (*AwsFacade) PopulateIgnoreKeys

func (s *AwsFacade) PopulateIgnoreKeys(providerWrapper *providerwrapper.ProviderWrapper)

func (*AwsFacade) PostConvertHook

func (s *AwsFacade) PostConvertHook() error

func (*AwsFacade) PostRefreshCleanup

func (s *AwsFacade) PostRefreshCleanup()

func (*AwsFacade) SetArgs

func (s *AwsFacade) SetArgs(args map[string]interface{})

func (*AwsFacade) SetName

func (s *AwsFacade) SetName(name string)

func (*AwsFacade) SetProviderName

func (s *AwsFacade) SetProviderName(providerName string)

func (*AwsFacade) SetResources

func (s *AwsFacade) SetResources(resources []terraformutils.Resource)

func (*AwsFacade) SetVerbose

func (s *AwsFacade) SetVerbose(verbose bool)

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

func (*CloudFrontGenerator) PostConvertHook

func (g *CloudFrontGenerator) PostConvertHook() 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

func (*EfsGenerator) PostConvertHook

func (g *EfsGenerator) PostConvertHook() error

PostConvertHook for add policy json as heredoc

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 IdentityStoreGenerator

type IdentityStoreGenerator struct {
	AWSService
}

func (*IdentityStoreGenerator) GetIdentityStoreId

func (g *IdentityStoreGenerator) GetIdentityStoreId() (*string, error)

func (*IdentityStoreGenerator) InitGroupMembershipResources

func (g *IdentityStoreGenerator) InitGroupMembershipResources(identityStoreId string, groupId string) error

func (*IdentityStoreGenerator) InitGroupResources

func (g *IdentityStoreGenerator) InitGroupResources(identityStoreId string) error

func (*IdentityStoreGenerator) InitResources

func (g *IdentityStoreGenerator) InitResources() error

func (*IdentityStoreGenerator) InitUserResources

func (g *IdentityStoreGenerator) InitUserResources(identityStoreId string) error

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 MediaLiveGenerator

type MediaLiveGenerator struct {
	AWSService
}

func (*MediaLiveGenerator) GetChannels

func (g *MediaLiveGenerator) GetChannels(svc *medialive.Client) error

func (*MediaLiveGenerator) GetInputSecurityGroups

func (g *MediaLiveGenerator) GetInputSecurityGroups(svc *medialive.Client) error

func (*MediaLiveGenerator) GetInputs

func (g *MediaLiveGenerator) GetInputs(svc *medialive.Client) error

func (*MediaLiveGenerator) InitResources

func (g *MediaLiveGenerator) InitResources() error

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 Policy

type Policy struct {
	Version   string       `json:"Version"`
	ID        string       `json:"Id"`
	Statement []*Statement `json:"Statement"`
}

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 Statement

type Statement struct {
	Sid string `json:"Sid"`
}

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL