Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewProvider ¶
func NewProvider(opts *options.TerragruntOptions) providers.Provider
NewProvider returns a new Provider instance.
Types ¶
type AWSCredentials ¶
type AWSCredentials struct { AccessKeyID string `json:"ACCESS_KEY_ID"` SecretAccessKey string `json:"SECRET_ACCESS_KEY"` SessionToken string `json:"SESSION_TOKEN"` }
func (*AWSCredentials) Envs ¶
func (creds *AWSCredentials) Envs(opts *options.TerragruntOptions) map[string]string
type Provider ¶
type Provider struct {
// contains filtered or unexported fields
}
Provider runs external command that returns a json string with credentials.
func (*Provider) GetCredentials ¶
GetCredentials implements providers.GetCredentials
type Response ¶
type Response struct { AWSCredentials *AWSCredentials `json:"awsCredentials"` Envs map[string]string `json:"envs"` }
Click to show internal directories.
Click to hide internal directories.