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

Feat: support newly added template types - pulumi, k8s & workflow #428

Merged
merged 4 commits into from
Jun 26, 2022

Conversation

TomerHeber
Copy link
Collaborator

Issue & Steps to Reproduce / Feature Request

resolves #425

Solution

Added the new types to the schema (resource and data) + documentation.

@yaronya yaronya requested a review from tomporat247 June 26, 2022 11:53
Copy link

@tomporat247 tomporat247 left a comment

Choose a reason for hiding this comment

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

Looking good, Notice that we renamed the blueprint type so please adjust your PR accordingly

"terragrunt",
"pulumi",
"k8s",
"complex",

Choose a reason for hiding this comment

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

we renamed complex to workflow

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

fixed.

@@ -502,7 +502,7 @@ func TestUnitTemplateResource(t *testing.T) {
"repository": template.Repository,
"type": "gruntyform",
}),
ExpectError: regexp.MustCompile(`must be one of: terragrunt, terraform`),
ExpectError: regexp.MustCompile(`must be one of`),

Choose a reason for hiding this comment

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

Does this work? shouldn't it list all of the available types

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

It works. I didn't want us to modify the test every time a new type was added.
(This test isn't beneficial, to begin with).

Since it's a regex match, it passes because the prefix never changes.

@github-actions github-actions bot added ready to merge PR approved - can be merged once the PR owner is ready and removed pending final review labels Jun 26, 2022
@TomerHeber TomerHeber merged commit a3036c8 into main Jun 26, 2022
@TomerHeber TomerHeber deleted the feat-add-new-template-types-#425 branch June 26, 2022 13:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature provider ready to merge PR approved - can be merged once the PR owner is ready
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support newly added template types - pulumi, k8s & workflow
2 participants