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

Terraform crashed while importing Elastic pool module #678

Closed
ashish4h2 opened this issue Jan 9, 2018 · 1 comment · Fixed by #982
Closed

Terraform crashed while importing Elastic pool module #678

ashish4h2 opened this issue Jan 9, 2018 · 1 comment · Fixed by #982

Comments

@ashish4h2
Copy link

Hi there,

Thank you for opening an issue. Please note that we try to keep the Terraform issue tracker reserved for bug reports and feature requests. For general usage questions, please see: https://www.terraform.io/community.html.

Terraform Version

Terraform v0.11.1

  • provider.azurerm v1.0.0

Affected Resource(s)

Please list the resources as a list, for example:

  • elastic poolinstance

If this issue appears to affect multiple resources, it may be an issue with Terraform's core, so please mention this.

Terraform Configuration Files

module "rz-pool" {
  source = "./SqlElasticPools"
  name = "rz"
  datacenter_count = "${var.datacenter_count}"
  tier = "${var.tier}"
  resourcegroup = "${module.ResourceGroups.name}"
  datacenters = "${local.datacenters}"
  locations = "${local.locations}"
  server_name = "${module.SqlServers.name}"
  edition = "Standard"
  dtu = "100"
  db_dtu_max = "100"
  pool_size = "100"
  tags = "${local.tags}"
}
resource "azurerm_sql_elasticpool" "RzElasticPool" {
  count = "${var.datacenter_count}"
  name = "${format("%s-pool-%s",var.name, lower(var.tier))}"
  resource_group_name = "${var.resourcegroup[count.index]}"
  location = "${var.locations[var.datacenters[count.index]]}"
  server_name = "${var.server_name[count.index]}"
  edition = "${var.edition}"
  dtu = "${var.dtu}"
  pool_size = "${format("%d", var.pool_size * 1024)}"
  db_dtu_min = "${var.db_dtu_min}"
  db_dtu_max = "${var.db_dtu_max}"
  tags = "${var.tags}"
}

Debug Output

Please provider a link to a GitHub Gist containing the complete debug output: https://www.terraform.io/docs/internals/debugging.html. Please do NOT paste the debug output in the issue; just paste a link to the Gist.

https://gist.github.com/ashish4h2/dca0c5fe276cb2fcfd183cca6a149f0e#file-stdout
https://gist.github.com/ashish4h2/dca0c5fe276cb2fcfd183cca6a149f0e#file-debug

Panic Output

If Terraform produced a panic, please provide a link to a GitHub Gist containing the output of the crash.log.
https://gist.github.com/ashish4h2/dca0c5fe276cb2fcfd183cca6a149f0e

Expected Behavior

What should have happened?
No crashing while importing elastic pool module.

Actual Behavior

What actually happened?
Crashing while importing elastic pool module

Steps to Reproduce

Please list the steps required to reproduce the issue, for example:

  1. terraform apply

PS>terraform import module.rz-pool.azurerm_sql_elasticpool.RzElasticPool /subscr
iptions/*******/resourceGroups/SqlServersResGrpPrim
aryQa/providers/Microsoft.Sql/servers/sqlserver-primary-qa/elasticpools/rz-p
ool-qa

Important Factoids

Are there anything atypical about your accounts that we should know? For example: Running in EC2 Classic? Custom version of OpenStack? Tight ACLs?

References

Are there any other GitHub issues (open or closed) or Pull Requests that should be linked here? For example:

@ghost
Copy link

ghost commented Mar 31, 2020

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 Mar 31, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.