Skip to content
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

fix: (DBTP-881) tweak monitoring tests to not require aws credentials #54

Merged
merged 2 commits into from
Apr 9, 2024

Conversation

jamesm-dbt
Copy link
Contributor

@jamesm-dbt jamesm-dbt commented Apr 9, 2024

The mock_provider (more info here: https://developer.hashicorp.com/terraform/language/tests/mocking#mock-providers) simulates the real AWS provider which allows terraform to run tests without requiring AWS authentication.

@@ -1,3 +1,5 @@
mock_provider "aws" {}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wow, so easy when you know how 😂

I think the tests run faster too.

@jamesm-dbt jamesm-dbt merged commit 7f4cf3f into main Apr 9, 2024
1 check passed
@jamesm-dbt jamesm-dbt deleted the tweak-monitoring-tests branch April 9, 2024 14:29
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

Successfully merging this pull request may close these issues.

2 participants