Documentation
¶
Index ¶
- Constants
- func GetDefaultResourceGroupIdString(resourceType string, groupId string) string
- func GetResourceGroupName(name string) string
- type ResourceGroup
- type Type
- func (rg *Type) GetCloud() commonpb.CloudProvider
- func (rg *Type) GetCloudSpecificLocation() string
- func (rg *Type) GetCommonArgs() any
- func (rg *Type) GetDependencies(ctx resources.MultyContext) []resources.CloudSpecificResource
- func (rg *Type) GetMainResourceName() (string, error)
- func (rg *Type) GetOutputValues(cloud commonpb.CloudProvider) map[string]cty.Value
- func (rg *Type) GetResourceId() string
- func (rg *Type) Translate(resources.MultyContext) ([]output.TfBlock, error)
- func (rg *Type) Validate(ctx resources.MultyContext) []validate.ValidationError
Constants ¶
View Source
const ( PREFIX = "Prefix" ENVIRONMENT = "Env" APP = "App" RESOURCETYPE = "ResourceType" LOCATION = "Location" SUFFIX = "Suffix" )
View Source
const AzureResourceName = "azurerm_resource_group"
Variables ¶
This section is empty.
Functions ¶
func GetDefaultResourceGroupIdString ¶ added in v0.1.15
func GetResourceGroupName ¶
Types ¶
type ResourceGroup ¶
type ResourceGroup struct { *common.AzResource `hcl:",squash" default:"name=azurerm_resource_group"` Location string `hcl:"location"` }
type Type ¶
type Type struct { ResourceId string Name string `hcl:"name"` App string `hcl:"app"` Location commonpb.Location Cloud commonpb.CloudProvider }
func (*Type) GetCloud ¶ added in v0.1.15
func (rg *Type) GetCloud() commonpb.CloudProvider
func (*Type) GetCloudSpecificLocation ¶ added in v0.1.15
func (*Type) GetCommonArgs ¶ added in v0.1.30
func (*Type) GetDependencies ¶
func (rg *Type) GetDependencies(ctx resources.MultyContext) []resources.CloudSpecificResource
func (*Type) GetMainResourceName ¶
func (*Type) GetOutputValues ¶
func (*Type) GetResourceId ¶
func (*Type) Validate ¶
func (rg *Type) Validate(ctx resources.MultyContext) []validate.ValidationError
Click to show internal directories.
Click to hide internal directories.