azurerm

package
v1.10.7 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const ProviderName = "azurerm"
View Source
const RegistryName = "registry.terraform.io/hashicorp/azurerm"

RegistryName is the fully qualified name under which this provider is stored in the registry.

Variables

View Source
var TerraformProviderInitializer = terraform.ProviderInitializer{
	MatchNames: []string{ProviderName, RegistryName},
	Provider: func(values map[string]interface{}) (terraform.Provider, error) {
		return NewProvider(ProviderName)
	},
}

TerraformProviderInitializer is a terraform.ProviderInitializer that initializes the default GCP provider.

Functions

func GetRegionCode

func GetRegionCode(location string) string

Types

type Provider

type Provider struct {
	// contains filtered or unexported fields
}

Provider is an implementation of the terraform.Provider, used to extract component queries from terraform resources.

func NewProvider

func NewProvider(key string) (*Provider, error)

NewProvider initializes a new Google provider with key and region

func (*Provider) Name

func (p *Provider) Name() string

Name returns the Provider's common name.

Jump to

Keyboard shortcuts

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