Skip to content

Can be the provider block actually configured through env variables? #16

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
isioannou opened this issue Mar 12, 2025 · 1 comment
Open

Comments

@isioannou
Copy link

According to the docs the provider block can configured through env variables like below

export ATLASSIAN_OPS_CLOUD_ID=YOUR_CLOUD_ID
export ATLASSIAN_OPS_DOMAIN_NAME=YOUR_DOMAIN
export ATLASSIAN_OPS_API_EMAIL_ADDRESS=YOUR_EMAIL_ADDRESS
export ATLASSIAN_OPS_API_TOKEN=YOUR_TOKEN

However it does not seem that the env variables are getting into account

Image

@aralozkaya
Copy link
Collaborator

Hi @isioannou
We're aware of this issue and will fix this in an upcoming release. Until then, please provide empty strings ("") in your provider configuration block for the required fields so that Terraform does not ask you to manually provide a value. The provider will still use the environment variables.

Also, the documentation has a typo. Instead of ATLASSIAN_OPS_API_EMAIL_ADDRESS, please use ATLASSIAN_OPS_API_USERNAME. We are planning to deprecate USERNAME but haven't done so yet, but the documentation already reflects this change.

Finally, I'd like to mention that Github Issues is not the recommended way of reporting issues with the provider, as we prioritize issues delivered to us from Atlassian Support Tickets and check them much more frequently than Github issues. For future requests and issues, please raise a support ticket from Atlassian Support.

Best Regards,
İbrahim Aral Özkaya
Software Engineer | Atlassian - Opsgenie

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

No branches or pull requests

2 participants