Documentation
¶
Index ¶
- Constants
- type AccountModule
- type AccountModules
- type AivenConsumerModule
- type AivenProducerModule
- type AivenVpcPeeringConnection
- type Attributes
- type AwsNetworkAclRule
- type AwsRouteResource
- type AwsVpcPeeringConnectionAccepter
- type BlockMetaData
- type CallerIdentity
- type ConflictingConsumer
- type Done
- type ErrResult
- type Import
- type ImportResource
- type IndexedInstance
- type IngressAttributes
- type Instance
- type Key
- type OkResult
- type Org
- type PeeringAccepterAttributes
- type PeeringConnectionAttributes
- type PermissionSet
- type PermissionSetModule
- type PermissionSetModules
- type PolicyDocument
- type PolicyType
- type Resource
- type ResourceCount
- type Result
- type RouteAttributes
- type Statement
- type Status
- type TerraformState
- type TfImport
Constants ¶
View Source
const ( AccName string = "name" AccOrganizationalUnit string = "organizational_unit" AccCostCenter string = "cost_center" AccKomuebProductTicket string = "komueb_product_ticket" AccOwnerEmail string = "owner_email" AccOwnerJiraUsername string = "owner_jira_username" AccPersonalDataProcessed string = "personal_data_processed" AccPersonalDataStored string = "personal_data_stored" AccGroupPermissions string = "group_permissions" AccUserPermissions string = "user_permissions" AccRootEmail string = "root_email" AccAccountBudget string = "account_budget" AccAccountBudgetEmail string = "account_budget_email" )
View Source
const ( IngressTcp = "ingress_tcp" IngressUdp = "ingress_udp" )
View Source
const ( PsName string = "name" PsSsoAdminInstanceArn string = "ssoadmin_instance_arn" PsManagedPolicyArns string = "managed_policy_arns" PsInlinePolicyDocument string = "inline_policy_document" PsTags string = "tags" )
View Source
const ( EffectAllow string = "Allow" EffectDeny string = "Deny" )
View Source
const ( AccountModuleType string = "aws-account" PermissionSetModuleType string = "aws-ssoadmin-permission-set" IamPolicyDocumentType string = "aws_iam_policy_document" )
View Source
const ( ModuleBlock string = "module" DataBlock string = "data" )
View Source
const NewModuleDefaultName = "peering_connections"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountModule ¶
type AccountModule struct { ModuleName string ProductTicket string AccountName string OrganizationalUnit string CostCenter int OwnerEmail string OwnerJiraUsername string GroupPermissions map[string][]*PermissionSet UserPermissions map[string][]*PermissionSet PersonalDataProcessed bool PersonalDataStored bool RootEmail string AccountBudget int AccountBudgetEmail string }
func (*AccountModule) CheckAllAttributes ¶
func (module *AccountModule) CheckAllAttributes(attrs *map[string]*hclwrite.Attribute) error
type AccountModules ¶
type AccountModules []*AccountModule
type AivenConsumerModule ¶
type AivenConsumerModule struct { Name string AwsRoutResources map[string]AwsRouteResource AwsNetworkAclRules map[string]AwsNetworkAclRule ConnectionAccepter AwsVpcPeeringConnectionAccepter }
type AivenProducerModule ¶
type AivenProducerModule struct { Name string PeeringConnection AivenVpcPeeringConnection Consumer *AivenConsumerModule }
type Attributes ¶
type AwsNetworkAclRule ¶
type AwsRouteResource ¶
type BlockMetaData ¶
type CallerIdentity ¶
type ConflictingConsumer ¶
type Done ¶
type Done struct { Status Status Dir string FailedResource *ImportResource ResourceCount int Message string CleanErrors string }
func (*Done) GetResourceCount ¶
type ErrResult ¶
func (*ErrResult) GetResourceCount ¶
type ImportResource ¶
type IndexedInstance ¶ added in v0.0.2
type IndexedInstance struct { IndexKey string `hcl:"index_key,optional"` Rest hcl.Body `hcl:"rest,remain"` }
type IngressAttributes ¶
type IngressAttributes struct { IngressProtocol string `hcl:"protocol,optional"` IngressNetworkAclId string `hcl:"network_acl_id,optional"` IngressRuleNumber int64 `hcl:"rule_number,optional"` IngressToPort int64 `hcl:"to_port,optional"` IngressEgress bool `hcl:"egress,optional"` Rest hcl.Body `hcl:"rest,remain"` }
type Instance ¶
type Instance struct { Attrs Attributes `hcl:"attributes,block"` Rest hcl.Body `hcl:"rest,remain"` }
type OkResult ¶
func (*OkResult) GetResourceCount ¶
type PermissionSet ¶
type PermissionSet struct { Policy PolicyType Val string }
type PermissionSetModule ¶
type PermissionSetModule struct { ModuleName string PermissionSetName string NameAttr *hclwrite.Attribute PolicyDocumentName string PolicyDocument *PolicyDocument ManagedPolicyArnsAttr *hclwrite.Attribute TagsAttr *hclwrite.Attribute ProductTicket string }
func (*PermissionSetModule) CheckAllAttributes ¶
func (module *PermissionSetModule) CheckAllAttributes(attrs *map[string]*hclwrite.Attribute) error
type PermissionSetModules ¶
type PermissionSetModules []*PermissionSetModule
type PolicyDocument ¶
type PolicyDocument struct {
Statements []Statement `hcl:"statement,block"`
}
type PolicyType ¶
type PolicyType int
const ( ManagedPolicy PolicyType = 0 InlinePolicy PolicyType = 1 )
type ResourceCount ¶
type RouteAttributes ¶
type TerraformState ¶
type TerraformState struct { Version string `hcl:"version,attr"` TerraformVersion string `hcl:"terraform_version,attr"` Serial int `hcl:"serial,attr"` Lineage string `hcl:"lineage,attr"` Outputs hcl.Body `hcl:"lineage,body"` Resources []Resource `hcl:"resources,block"` Rest hcl.Body `hcl:"rest,remain"` }
Click to show internal directories.
Click to hide internal directories.