-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
New Resource: azurerm_nginx_deployment
#18510
Conversation
@wuxu92 |
@wuxu92 Thanks. I see |
@dkuzmenok thanks for your reminder. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tests are failing:
Test Failed
------- Stdout: -------
=== RUN TestAccNginxDeployment_basic
=== PAUSE TestAccNginxDeployment_basic
=== CONT TestAccNginxDeployment_basic
=== CONT TestAccNginxDeployment_basic
testing_new.go:84: Error running post-test destroy, there may be dangling resources: exit status 1
Error: waiting delete Nginx Deployment (Subscription: "*******"
Resource Group Name: "acctestRG-auto-220928061149196089"
Deployment Name: "acctest-220928061149196089"): Code="Failed" Message="The async operation failed." AdditionalInfo=[{"id":"/providers/Nginx.NginxPlus/locations/WESTEUROPE/operationStatuses/373df08e-e8e5-43cd-8db3-f8e22bbf27b0*9CFF51192EFD92717BAA147C73E0CF9FCA635DDC343DE76BC3962DB5C95A1AF1","name":"373df08e-e8e5-43cd-8db3-f8e22bbf27b0*9CFF51192EFD92717BAA147C73E0CF9FCA635DDC343DE76BC3962DB5C95A1AF1","resourceId":"/subscriptions/*******/resourceGroups/acctestRG-auto-220928061149196089/providers/Nginx.NginxPlus/nginxDeployments/acctest-220928061149196089","startTime":"2022-09-28T06:19:47.8571124Z","status":"Failed"}]
waiting delete Nginx Deployment (Subscription:
"*******"
Resource Group Name: "acctestRG-auto-220928061149196089"
Deployment Name: "acctest-220928061149196089"): Code="Failed" Message="The
async operation failed."
AdditionalInfo=[{"id":"/providers/Nginx.NginxPlus/locations/WESTEUROPE/operationStatuses/373df08e-e8e5-43cd-8db3-f8e22bbf27b0*9CFF51192EFD92717BAA147C73E0CF9FCA635DDC343DE76BC3962DB5C95A1AF1","name":"373df08e-e8e5-43cd-8db3-f8e22bbf27b0*9CFF51192EFD92717BAA147C73E0CF9FCA635DDC343DE76BC3962DB5C95A1AF1","resourceId":"/subscriptions/*******/resourceGroups/acctestRG-auto-220928061149196089/providers/Nginx.NginxPlus/nginxDeployments/acctest-220928061149196089","startTime":"2022-09-28T06:19:47.8571124Z","status":"Failed"}]
--- FAIL: TestAccNginxDeployment_basic (724.12s)
@wuxu92 - i think you'll need to add a TeamCity config to ensure this runs in the right regions:
|
@katbyte yes, it's related to the region. I'm reaching out to the service team to confirm this. I test successfully with |
@katbyte Nginx deployment not supported in westus2 for now, I changed the location to eastus2 in the environment it is success now |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @wuxu92 ! LGTM 🤖
This functionality has been released in v3.27.0 of the Terraform Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active contributions. |
Support New service RP
Nginx/Nginx
and new resource ofazurerm_nginx_deployment
.Attention:
the subscription id used to create Nginx deployment need to be configured with a valid Payment. Or create API will response error like
SaaS Purchase Payment Check Failed as validationResponse was {\"isEligible\":false,\"errorMessage\":\"Purchase has failed because we couldn't find a valid credit card nor a payment method associated with your Azure subscription. Please use a different Azure subscription or add......
. If this happens in TeamCity please contact me and I'll feedback to the service team to add this subscription id to their whitelist to skip this check.