organization

package
v1.14.0 Latest Latest
Warning

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

Go to latest
Published: May 16, 2024 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ImportID = "org-config"
)

Variables

This section is empty.

Functions

func Converter

func Converter(plan *ResourceModel, state *ResourceModel, converterType commons.ConverterType) (*organization.OrgConfiguration, bool)

func UpdateStateAfterRead

func UpdateStateAfterRead(res *sdkOrganization.OrgConfiguration, state *ResourceModel)

Types

type IacConfigModel

type IacConfigModel struct {
	TerraformVersion  types.String `tfsdk:"terraform_version"`
	TerragruntVersion types.String `tfsdk:"terragrunt_version"`
	OpentofuVersion   types.String `tfsdk:"opentofu_version"`
}

type ReportConfigurationModel

type ReportConfigurationModel struct {
	Type       types.String           `tfsdk:"type"`
	Recipients *ReportRecipientsModel `tfsdk:"recipients"`
	Enabled    types.Bool             `tfsdk:"enabled"`
}

type ReportRecipientsModel

type ReportRecipientsModel struct {
	AllAdmins               types.Bool `tfsdk:"all_admins"`
	EmailAddresses          types.List `tfsdk:"email_addresses"`
	EmailAddressesToExclude types.List `tfsdk:"email_addresses_to_exclude"`
}

type ResourceModel

type ResourceModel struct {
	ID                    types.String                 `tfsdk:"id"`
	IacConfig             *IacConfigModel              `tfsdk:"iac_config"`
	S3StateFilesLocations []*S3StateFilesLocationModel `tfsdk:"s3_state_files_locations"`
	RunnerConfig          *RunnerConfigModel           `tfsdk:"runner_config"`
	SuppressedResources   *SuppressedResourcesModel    `tfsdk:"suppressed_resources"`
	ReportConfigurations  []*ReportConfigurationModel  `tfsdk:"report_configurations"`
}

type RunnerConfigModel

type RunnerConfigModel struct {
	Mode          types.String `tfsdk:"mode"`
	Groups        types.List   `tfsdk:"groups"`
	IsOverridable types.Bool   `tfsdk:"is_overridable"`
}

type S3StateFilesLocationModel

type S3StateFilesLocationModel struct {
	BucketName   types.String `tfsdk:"bucket_name"`
	BucketRegion types.String `tfsdk:"bucket_region"`
	AwsAccountId types.String `tfsdk:"aws_account_id"`
}

type SuppressedResourcesModel

type SuppressedResourcesModel struct {
	ManagedByTags []*TagPropertiesModel `tfsdk:"managed_by_tags"`
}

type TagPropertiesModel

type TagPropertiesModel struct {
	Key   types.String `tfsdk:"key"`
	Value types.String `tfsdk:"value"`
}

Jump to

Keyboard shortcuts

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