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

Application Gateway: Moved validations from flatten to expand #3340

Merged
merged 6 commits into from
May 10, 2019
Merged

Application Gateway: Moved validations from flatten to expand #3340

merged 6 commits into from
May 10, 2019

Conversation

mcharriere
Copy link
Contributor

Fixes #3338

@ghost ghost added the size/L label Apr 30, 2019
Copy link
Collaborator

@katbyte katbyte left a comment

Choose a reason for hiding this comment

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

Thanks for doing this @mcharriere! beat me to it 🙂

looks like you have a test failure:

------- Stdout: -------
=== RUN   TestAccAzureRMApplicationGateway_routingRedirect_pathBased
=== PAUSE TestAccAzureRMApplicationGateway_routingRedirect_pathBased
=== CONT  TestAccAzureRMApplicationGateway_routingRedirect_pathBased
--- FAIL: TestAccAzureRMApplicationGateway_routingRedirect_pathBased (143.52s)
    testing.go:568: Step 0 error: errors during apply:
        
        Error: Error Creating/Updating Application Gateway "acctestag-190430164908300494" (Resource Group "acctestRG-190430164908300494"): network.ApplicationGatewaysClient#CreateOrUpdate: Failure sending request: StatusCode=400 -- Original Error: Code="ApplicationGatewayRedirectConfigurationIncludePathCannotBeSpecifiedWithTargetUrl" Message="IncludePath cannot be specified along with TargetUrl for RedirectConfiguration /subscriptions/8708baf2-0a54-4bb4-905b-78d21ac150da/resourceGroups/acctestRG-190430164908300494/providers/Microsoft.Network/applicationGateways/acctestag-190430164908300494/redirectConfigurations/acctest-vnet-190430164908300494-PathRedirect." Details=[]
        
          on /opt/teamcity-agent/temp/buildTmp/tf-test291406144/main.tf line 48:
          (source code not available)
        
        
FAIL

@mcharriere
Copy link
Contributor Author

Thanks for doing this @mcharriere! beat me to it slightly_smiling_face

looks like you have a test failure:

------- Stdout: -------
=== RUN   TestAccAzureRMApplicationGateway_routingRedirect_pathBased
=== PAUSE TestAccAzureRMApplicationGateway_routingRedirect_pathBased
=== CONT  TestAccAzureRMApplicationGateway_routingRedirect_pathBased
--- FAIL: TestAccAzureRMApplicationGateway_routingRedirect_pathBased (143.52s)
    testing.go:568: Step 0 error: errors during apply:
        
        Error: Error Creating/Updating Application Gateway "acctestag-190430164908300494" (Resource Group "acctestRG-190430164908300494"): network.ApplicationGatewaysClient#CreateOrUpdate: Failure sending request: StatusCode=400 -- Original Error: Code="ApplicationGatewayRedirectConfigurationIncludePathCannotBeSpecifiedWithTargetUrl" Message="IncludePath cannot be specified along with TargetUrl for RedirectConfiguration /subscriptions/8708baf2-0a54-4bb4-905b-78d21ac150da/resourceGroups/acctestRG-190430164908300494/providers/Microsoft.Network/applicationGateways/acctestag-190430164908300494/redirectConfigurations/acctest-vnet-190430164908300494-PathRedirect." Details=[]
        
          on /opt/teamcity-agent/temp/buildTmp/tf-test291406144/main.tf line 48:
          (source code not available)
        
        
FAIL

Sorry I missed that. I've sent a commit fixing it.

@ghost ghost removed the waiting-response label May 1, 2019
@mcharriere
Copy link
Contributor Author

Hi @katbyte, have you had the chance to take a look at this?
I'm about to send another PR and having this merged would be great. Thanks! 😄

Copy link
Collaborator

@katbyte katbyte left a comment

Choose a reason for hiding this comment

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

Just getting to it now @mcharriere 🙂 sorry it took a little longer to review, we were busy with build this week.

LGTM and all the tests pass! so 🚀

@katbyte katbyte added this to the v1.28.0 milestone May 10, 2019
@katbyte katbyte merged commit 1017878 into hashicorp:master May 10, 2019
katbyte added a commit that referenced this pull request May 10, 2019
@ghost
Copy link

ghost commented May 17, 2019

This has been released in version 1.28.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.28.0"
}
# ... other configuration ...

@ghost
Copy link

ghost commented Jun 10, 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 Jun 10, 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.

Application Gateway: misplaced validations
2 participants