anyone seen this error before? i can't find any do...
# aws
s
anyone seen this error before? i can't find any documentation on what
aws:context
even means
Copy code
error: Missing required configuration variable 'aws:context'
I'm just trying to use the
getBucketObject
function
Copy code
getBucketObject(
  {
    bucket: "bucketName",
    key: `/blah/blah.json`,
  },
  {
    provider: new Provider("us-east-2", {
      assumeRole: awsConfig.requireObject("assumeRole"),
      allowedAccountIds: awsConfig.requireObject("allowedAccountIds"),
      region: "us-east-2",
    }),
  }
)
i got past this by adding
aws:context: uhhh
to my stack config file. no idea what the purpose of this is, but apparently any string value works 🤷
s
Can you file a GitHub issue in pulumi/pulumi-aws for this? Thanks.
👍 1