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

get suck on "terraform plan" #2

Open
KimoriWasTaken opened this issue Jul 21, 2023 · 0 comments
Open

get suck on "terraform plan" #2

KimoriWasTaken opened this issue Jul 21, 2023 · 0 comments

Comments

@KimoriWasTaken
Copy link


│ Error: Attempt to index null value

│ on main.tf line 15, in resource "oci_core_instance" "instance":
│ 15: availability_domain = data.oci_identity_availability_domains.ADs.availability_domains[0].name
│ ├────────────────
│ │ data.oci_identity_availability_domains.ADs.availability_domains is null

│ This value is null, so it does not have any indices.


│ Error: Attempt to index null value

│ on main.tf line 24, in resource "oci_core_instance" "instance":
│ 24: source_id = data.oci_core_images.images.images[0].id
│ ├────────────────
│ │ data.oci_core_images.images.images is null

│ This value is null, so it does not have any indices.

Tried on Windows and Linux, same error.
I made sure to follow the previous steps and confirm they work, don't really know how to troubleshoot this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant