clever-byte-21551
09/16/2020, 8:07 AMlittle-cartoon-10569
09/16/2020, 9:15 PMclever-byte-21551
09/22/2020, 12:40 PMacoustic-leather-88378
10/08/2020, 2:32 PMclever-byte-21551
10/08/2020, 2:39 PM[default]
aws_access_key_id = %s
aws_secret_access_key = %s
aws_session_token = %s
In the pulumi provider I supplied it with the path to the file:
p, err := pulumiaws.NewProvider(ctx, "assumedRole", &pulumiaws.ProviderArgs{
SharedCredentialsFile: pulumi.String(b.awsCredsFilePath),
Region: pulumi.String(b.Region),
})
The reason for that is to avoid saving to the state the ephermal credentials (they expire after an hour) the only that is saved to the state is the path to the file which I make sure exists before running the stack.acoustic-leather-88378
10/08/2020, 2:40 PMclever-byte-21551
10/08/2020, 2:50 PM