-
Notifications
You must be signed in to change notification settings - Fork 64
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
When regional subnets are used, the instance fails to detect the availability domain #41
Comments
this results in an error when plan or apply actions are called
|
@kral2 - need to discuss this. |
There is currently lot of broken or missing features: this module needs a major overhaul. We will probably go for a complete rewrite for v3.0.0. |
I'll add the AD input variable in the module in the meantime, cannot release the upgraded 0.12 version without compatibility with regional subnets... |
add Terraform and Provider minimum versions (> 0.12) change Block Volume default attachment type from iSCSI to paravirtualized remove boot volume custom default value in the module Documentation enhancement: Requirements, Providers, Inputs and Outputs tables in README are now autogenerated update README sample code for Terraform 0.12 syntax add description and type to module inputs Issue: oracle-terraform-modules#41
Backporting a solution for this issue from my existing alternate compute module. adding var.ad_number, data.oci_identity_availability_domains.ad, local.ADs User can select the desired AD giving just a number. If no number is given, instances will be provisioned in a round robin manner starting with AD 1. Module now compatible with both regional and ad-specific subnets (no more dependency at this level). |
add Terraform and Provider minimum versions (> 0.12) change Block Volume default attachment type from iSCSI to paravirtualized remove boot volume custom default value in the module Documentation enhancement: Requirements, Providers, Inputs and Outputs tables in README are now autogenerated update README sample code for Terraform 0.12 syntax add description and type to module inputs Issue: #41
add regional subnets support add Terraform and Provider minimum versions (> 0.12) change Block Volume default attachment type from iSCSI to paravirtualized remove boot volume custom default value in the module Documentation enhancement: Requirements, Providers, Inputs and Outputs tables in README are now autogenerated update README sample code for Terraform 0.12 syntax add description and type to module inputs Fix issue: #41
The code in main.tf relies on deriving the AD from the subnet's AD used to create the instance.
When the subnet used is of regional type, the detection fails
main.tf, line 17
availability_domain = data.oci_core_subnet.this[count.index % length(data.oci_core_subnet.this.*.availability_domain)].availability_domain
The text was updated successfully, but these errors were encountered: