We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Ao tentar definir um tamanho e um tipo ao disco de uma replica DBaaS, o terraform diz que esses parâmetros são somente leitura
Aceitar o valor conforme sugerido na documentação e criar a replica com esse valor
Doc: https://registry.terraform.io/providers/MagaluCloud/mgc/latest/docs
Executar o código abaixo:
esource "mgc_dbaas_replicas" "this" { depends_on = [mgc_dbaas_instances.this] # for_each = var.replicas_enable ? local.replca_map: {} count = var.replicas_enable ? 1 : 0 name = "${mgc_dbaas_instances.this[0].name}-rep-${count.index}" source_id = mgc_dbaas_instances.this[0].id volume = { size = 50 type ="CLOUD_NVME_15K" } lifecycle { precondition { condition = mgc_dbaas_instances.this[0].status != "ERROR" error_message = "Status of dbaas master can't be error" } } }
The text was updated successfully, but these errors were encountered:
lfpicoloto1
No branches or pull requests
O que acontece ?
Ao tentar definir um tamanho e um tipo ao disco de uma replica DBaaS, o terraform diz que esses parâmetros são somente leitura
O que é esperado ?
Aceitar o valor conforme sugerido na documentação e criar a replica com esse valor
Doc: https://registry.terraform.io/providers/MagaluCloud/mgc/latest/docs
Como reproduzir:
Executar o código abaixo:
The text was updated successfully, but these errors were encountered: