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
In tests, the function that returns the resource config is named like testResourceConfig. But it's not actually testing anything, so it may be better to be named like getTestResourceConfig.
So testAwsNatGatewayConfig would change to getTestAwsNatGatewayConfig.
The text was updated successfully, but these errors were encountered:
The Terraform Provider docs and examples seem to use the testAwsNatGatewayConfig naming - see testAccExampleResource here: https://www.terraform.io/docs/extend/testing/acceptance-tests/testcase.html. But I equally see how this could be confusing. I don't have a strong opinion so feel free to update them.
In tests, the function that returns the resource config is named like
testResourceConfig
. But it's not actually testing anything, so it may be better to be named likegetTestResourceConfig
.So
testAwsNatGatewayConfig
would change togetTestAwsNatGatewayConfig
.The text was updated successfully, but these errors were encountered: