Skip to content
This repository has been archived by the owner on Oct 18, 2024. It is now read-only.

AWS cdk deploy and profile regions #4

Open
RichardScottOZ opened this issue Feb 4, 2021 · 0 comments
Open

AWS cdk deploy and profile regions #4

RichardScottOZ opened this issue Feb 4, 2021 · 0 comments

Comments

@RichardScottOZ
Copy link

This could be a discussion, but thought I would note:

I was using Windows 10 and the CDK installed last week 1.86.

Using cdk deploy --profile tilerprof
for example

correctly read the keys for permissions for deployment - but failed to get the profile from the config, however I tried it

Not a titiler problem, but a cdk problem. Suggestions on their Slack were 'put the right environment variables in your code' - which I said 'not my code'.

Thought I would add, just in case anyone else comes across.

Basically, I changed my AWS default region environment variable, deployed, set it back. e.g. mine is ap-southeast-2 as that is where we are usually working. Changed it to us-west-2 for the Sentinel COGs and set it back.

Only thing that caused me any problems except I think changing python3 to python in the app to get it to work for the environment I was using.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant