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

Advanced threat protection break plan execution #3938

Closed
eliecharra opened this issue Jul 26, 2019 · 4 comments
Closed

Advanced threat protection break plan execution #3938

eliecharra opened this issue Jul 26, 2019 · 4 comments

Comments

@eliecharra
Copy link

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Terraform (and AzureRM Provider) Version

➜ ./terraform -v
Terraform v0.11.10
+ provider.azurerm v1.32.0

Affected Resource(s)

  • azurerm_storage_account

Terraform Configuration Files

resource "azurerm_storage_account" "functions_storage" {
  name                     = "xxxxx${terraform.workspace}"
  resource_group_name      = "${azurerm_resource_group.rg.name}"
  location                 = "francecentral"
  account_tier             = "Standard"
  account_replication_type = "LRS"
}

Debug Output

* azurerm_storage_account.functions_storage: azurerm_storage_account.functions_storage: Error reading the advanced threat protection settings of AzureRM Storage Account "xxxxxqa": security.AdvancedThreatProtectionClient#Get: Failure responding to request: StatusCode=400 -- Original Error: autorest/azure: Service returned an error. Status=400 Code="NoRegisteredProviderFound" Message="No registered resource provider found for location 'francecentral' and API version '2017-08-01-preview' for type 'advancedThreatProtectionSettings'. The supported api-versions are '2017-08-01-preview'. The supported locations are 'australiacentral, australiacentral2, australiaeast, australiasoutheast, brazilsouth, canadacentral, canadaeast, centralindia, centralus, eastasia, eastus2, eastus, japaneast, japanwest, koreacentral, koreasouth, northcentralus, northeurope, southcentralus, southindia, southeastasia, uksouth, ukwest, westcentralus, westeurope, westindia, westus2, westus'."
* azurerm_storage_account.reciepe_image_storage: 1 error(s) occurred:

Expected Behavior

terraform apply terminate successfully

Actual Behavior

terraform apply fails

It seems that #3782 introduce regressions as advanced threat protection is not available in all regions.

Steps to Reproduce

  1. terraform apply
@katbyte
Copy link
Collaborator

katbyte commented Jul 26, 2019

hi @eliecharra,

This is a duplicate of #3920 and as such am going to close it

@eliecharra
Copy link
Author

@katbyte Oops my bad sorry for the dupe ...

@ghost
Copy link

ghost commented Aug 1, 2019

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

@ghost
Copy link

ghost commented Aug 26, 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 👉 [email protected]. Thanks!

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

No branches or pull requests

2 participants