Skip to content

When regional subnets are used, the instance fails to detect the availability domain #41

Closed
@aorcl

Description

@aorcl

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions