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

Support for Azure App Configuration - Geo Replication #21634

Closed
1 task done
4865783a5d opened this issue May 3, 2023 · 1 comment · Fixed by #22452
Closed
1 task done

Support for Azure App Configuration - Geo Replication #21634

4865783a5d opened this issue May 3, 2023 · 1 comment · Fixed by #22452

Comments

@4865783a5d
Copy link

4865783a5d commented May 3, 2023

Is there an existing issue for this?

  • I have searched the existing issues

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

Description

Azure App Configuration supports geo-replication (https://learn.microsoft.com/en-us/azure/azure-app-configuration/howto-geo-replication) which is currently not supported by https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/app_configuration.html (V3.54)

Replicas API: https://learn.microsoft.com/en-us/rest/api/appconfiguration/stable/replicas/create?tabs=HTTP

New or Affected Resource(s)/Data Source(s)

azurerm_app_configuration

Potential Terraform Configuration

resource "azurerm_resource_group" "example" {
  name     = "example-resources"
  location = "West Europe"
}

resource "azurerm_resource_group" "example1" {
  name     = "example-resources1"
  location = "North Europe"
}

resource "azurerm_resource_group" "example2" {
  name     = "example-resources2"
  location = "East US"
}

resource "azurerm_app_configuration" "appconf" {
  name                = "appConf1"
  resource_group_name = azurerm_resource_group.example.name
  location            = azurerm_resource_group.example.location
}

resource "azurerm_app_configuration_replica" "replica1" {
  name = "appConfgReplica1"
  resource_group_name = azurerm_resource_group.example1.name
  location            = azurerm_resource_group.example1.location

  config_store_name = azurerm_app_configuration.appconf.name

  tags = {
    workload = "replica 1" 
  }
}

resource "azurerm_app_configuration_replica" "replica2" {
  name = "appConfgReplica2"
  resource_group_name = azurerm_resource_group.example2.name
  location            = azurerm_resource_group.example2.location

  config_store_name = azurerm_app_configuration.appconf.name

  tags = {
    workload = "replica 2"
  }
}

References

https://learn.microsoft.com/en-us/azure/azure-app-configuration/howto-geo-replication
https://learn.microsoft.com/en-us/rest/api/appconfiguration/stable/replicas/create?tabs=HTTP

Copy link

github-actions bot commented May 6, 2024

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 have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 6, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
2 participants