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

Added template validation #4715

Merged

Conversation

itavy
Copy link
Contributor

@itavy itavy commented Oct 24, 2019

if it is ok i will add a test for this case

Signed-off-by: Octavian Ionescu itavyg@gmail.com

Copy link
Contributor

@tombuildsstuff tombuildsstuff left a comment

Choose a reason for hiding this comment

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

hey @itavy

Thanks for this PR - taking a look through this is looking good, if we can fix up the comments this otherwise LGTM 👍

Thanks!

azurerm/resource_arm_template_deployment.go Outdated Show resolved Hide resolved
azurerm/resource_arm_template_deployment.go Outdated Show resolved Hide resolved
azurerm/resource_arm_template_deployment.go Outdated Show resolved Hide resolved
azurerm/resource_arm_template_deployment.go Outdated Show resolved Hide resolved
azurerm/resource_arm_template_deployment.go Outdated Show resolved Hide resolved
Signed-off-by: Octavian Ionescu <itavyg@gmail.com>
@itavy itavy force-pushed the feature/add_validation_for_deployments branch from 9c4a65f to 7020c0c Compare October 28, 2019 09:56
Signed-off-by: Octavian Ionescu <itavyg@gmail.com>
Copy link
Contributor

@tombuildsstuff tombuildsstuff left a comment

Choose a reason for hiding this comment

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

hey @itavy

Thanks for pushing those changes - taking a look through this now LGTM 👍

Thanks!

…ithParamsBody` test

```
$ acctests azurerm TestAccAzureRMTemplateDeployment_withParamsBody
=== RUN   TestAccAzureRMTemplateDeployment_withParamsBody
=== PAUSE TestAccAzureRMTemplateDeployment_withParamsBody
=== CONT  TestAccAzureRMTemplateDeployment_withParamsBody
--- PASS: TestAccAzureRMTemplateDeployment_withParamsBody (523.09s)
PASS
ok  	github.com/terraform-providers/terraform-provider-azurerm/azurerm	523.141s
```
@tombuildsstuff
Copy link
Contributor

hey @itavy

I've run the tests for this and aside from one existing failing test this LGTM:

Screenshot 2019-10-29 at 12 55 52

I hope you don't mind but to make that final test pass I've pushed a commit to this branch which changes the TestAccAzureRMTemplateDeployment_withParamsBody test from a Complete to an Incremental deployment, which whilst outside the scope of this PR makes these tests all pass:

Screenshot 2019-10-29 at 13 23 36

Thanks!

@tombuildsstuff tombuildsstuff merged commit a55e1a3 into hashicorp:master Oct 29, 2019
tombuildsstuff added a commit that referenced this pull request Oct 29, 2019
@ghost
Copy link

ghost commented Nov 26, 2019

This has been released in version 1.37.0 of the provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. As an example:

provider "azurerm" {
    version = "~> 1.37.0"
}
# ... other configuration ...

@ghost
Copy link

ghost commented Nov 28, 2019

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 hashibot-feedback@hashicorp.com. Thanks!

@ghost ghost locked and limited conversation to collaborators Nov 28, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants