Thanks to visit codestin.com
Credit goes to github.com

Skip to content

feat: add template data source #46

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

Merged
merged 2 commits into from
Jul 30, 2024
Merged

Conversation

deansheather
Copy link
Member

All fields except a few:

  • Provisioner (not really necessary in production since we only support terraform right now)
  • AutostopRequirement and AutostartRequirement (we should add them when the template resource adds them)
  • MaxPortShareLevel
  • ACL-related stuff (I think we can add these later when customers request them, but I don't see how they'd be useful on a data source currently)

Closes #28

Name: PtrTo(tpl.Name),
}
resource.Test(t, resource.TestCase{
IsUnitTest: true,
Copy link
Member

Choose a reason for hiding this comment

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

I'm not sure if this was on purpose, but it's maybe a good idea, we should leave IsUnitTest: true on all our acceptance tests, and then just block when TF_ACC isn't set with a skip at the top. They both do the exact same check, but our skip stops the setup from running too.

@deansheather deansheather merged commit bcba9b7 into main Jul 30, 2024
1 of 3 checks passed
@ethanndickson ethanndickson deleted the dean/template-datasource branch August 21, 2024 10:51
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.

Add support for template data source
3 participants