You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 15, 2021. It is now read-only.
It looks like the current module doesn't support passing in environment variables as an argument.
I'm guessing because this module was created before November 16th before environment variables was a feature?
It would be super useful to be able to set up a canary and pass environment variables in. Right now, you have to upload multiple copies of the same script with a 1 line difference. However, what I really want is to use the same script over and over again, and pass in a single environment variable.
Right now, we have to do this:
url='google.com'
...rest of python script
Ideal python script:
url=os.environ.get('URL')
...rest of python script
I agree, this would be useful but as of AWS Provider v3.28, this Canary functionality is now part of the AWS Providers and therefore will need to be worked on as functionality there. I very much doubt that there will be any further work on this code and it'll be archived.
This repo is about to be archived. But if you would like to still use this one and you need some extra functionality you can open PR for it and I'll merge it for you
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
It looks like the current module doesn't support passing in environment variables as an argument.
I'm guessing because this module was created before November 16th before environment variables was a feature?
It would be super useful to be able to set up a canary and pass environment variables in. Right now, you have to upload multiple copies of the same script with a 1 line difference. However, what I really want is to use the same script over and over again, and pass in a single environment variable.
Right now, we have to do this:
url='google.com'
...rest of python script
Ideal python script:
url=os.environ.get('URL')
...rest of python script
See: https://aws.amazon.com/about-aws/whats-new/2020/11/amazon-cloudwatch-synthetics-supports-environment-variables/
The text was updated successfully, but these errors were encountered: