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

Add enabled check to data source #45

Merged
merged 13 commits into from
Apr 22, 2022
Prev Previous commit
Next Next commit
Add TestExamplesCompleteDisabled
nitrocode authored Apr 22, 2022

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit e16f18d11a0f4786d84ccf762406e10b9bd365cf
5 changes: 5 additions & 0 deletions test/src/examples_complete_test.go
Original file line number Diff line number Diff line change
@@ -59,3 +59,8 @@ func TestExamplesComplete(t *testing.T) {
// Verify we're getting back the outputs we expect
assert.Equal(t, expectedroleName, roleName)
}

// Test the Terraform module in examples/complete doesn't attempt to create resources with enabled=false.
func TestExamplesCompleteDisabled(t *testing.T) {
testNoChanges(t, "../../examples/complete")
}