provider

package
v0.1.32 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const AwsResourceName = "aws"
View Source
const AzureResourceName = "azurerm"

Variables

This section is empty.

Functions

This section is empty.

Types

type AwsProvider

type AwsProvider struct {
	ResourceName string `hcl:",key"`
	Region       string `hcl:"region"`
	Alias        string `hcl:"alias" hcle:"omitempty"`
	AccessKey    string `hcl:"access_key" hcle:"omitempty"`
	SecretKey    string `hcl:"secret_key" hcle:"omitempty"`
}

type AzureProvider

type AzureProvider struct {
	ResourceName   string                `hcl:",key"`
	Features       AzureProviderFeatures `hcl:"features"`
	ClientId       string                `hcl:"client_id" hcle:"omitempty"`
	SubscriptionId string                `hcl:"subscription_id" hcle:"omitempty"`
	TenantId       string                `hcl:"tenant_id" hcle:"omitempty"`
	ClientSecret   string                `hcl:"client_secret" hcle:"omitempty"`
}

type AzureProviderFeatures

type AzureProviderFeatures struct {
	ResourceGroup string `hcl:"resource_group" hcle:"omitempty"`
}

Jump to

Keyboard shortcuts

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