Documentation
¶
Index ¶
- Constants
- Variables
- func Deploy(ctx context.Context, c *config.Config, prev *config.Resource, ...) (*output.TfState, error)
- func GetState(userId string) (*output.TfState, error)
- func MaybeInit(userId string) error
- func Translate(credentials *creds.CloudCredentials, c *config.Config, prev *config.Resource, ...) (string, error)
- type WithCommonParams
Constants ¶
View Source
const AwsProviderVersion = "4.8.0"
View Source
const AzureProviderVersion = "3.0.2"
Variables ¶
View Source
var ( AwsCredsNotSetErr = status.Error(codes.InvalidArgument, "aws credentials are required but not set") AzureCredsNotSetErr = status.Error(codes.InvalidArgument, "azure credentials are required but not set") )
View Source
var RequiredProviders = fmt.Sprintf(` terraform { required_providers { aws = { source = "hashicorp/aws" version = "%s" } azurerm = { source = "hashicorp/azurerm" version = "%s" } } } `, AwsProviderVersion, AzureProviderVersion)
Functions ¶
Types ¶
type WithCommonParams ¶
type WithCommonParams interface {
GetCommonParameters() *common.ResourceCommonArgs
}
Click to show internal directories.
Click to hide internal directories.