Versions in this module Expand all Collapse all v1 v1.0.1 Apr 27, 2026 v1.0.0 Apr 27, 2026 Changes in this version + func AssumeIamRole(iamRoleOpts options.IAMRoleOptions) (*sts.Credentials, error) + func AssumeRoleAndUpdateEnvIfNecessary(gruntOptions *options.TerragruntOptions) error + func CreateAwsSession(config *AwsSessionConfig, gruntOptions *options.TerragruntOptions) (*session.Session, error) + func CreateAwsSessionFromConfig(config *AwsSessionConfig, gruntOptions *options.TerragruntOptions) (*session.Session, error) + func GetAWSAccountID(config *AwsSessionConfig, gruntOptions *options.TerragruntOptions) (string, error) + func GetAWSCallerIdentity(config *AwsSessionConfig, gruntOptions *options.TerragruntOptions) (sts.GetCallerIdentityOutput, error) + func GetAWSIdentityArn(config *AwsSessionConfig, gruntOptions *options.TerragruntOptions) (string, error) + func GetAWSPartition(config *AwsSessionConfig, gruntOptions *options.TerragruntOptions) (string, error) + func GetAWSUserID(config *AwsSessionConfig, gruntOptions *options.TerragruntOptions) (string, error) + func MarshalPolicy(policy Policy) ([]byte, error) + func ValidateAwsSession(config *AwsSessionConfig, gruntOptions *options.TerragruntOptions) error + type AwsSessionConfig struct + CredsFilename string + CustomDynamoDBEndpoint string + CustomS3Endpoint string + DisableComputeChecksums bool + ExternalID string + Profile string + Region string + RoleArn string + S3ForcePathStyle bool + SessionName string + type Policy struct + Statement []Statement + Version string + func UnmarshalPolicy(policy string) (Policy, error) + type Statement struct + Action interface{} + Condition *map[string]interface{} + Effect string + NotPrincipal interface{} + Principal interface{} + Resource interface{} + Sid string