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

Terriform Configuration does not Deploy #1

Open
harborgrid-justin opened this issue Dec 31, 2021 · 0 comments
Open

Terriform Configuration does not Deploy #1

harborgrid-justin opened this issue Dec 31, 2021 · 0 comments

Comments

@harborgrid-justin
Copy link

Initializing modules...
- app_subnet in modules/network/subnets
- bastion_subnet in modules/network/subnets
- create_app in modules/compute
- create_bastion in modules/bastion
- create_db in modules/dbsystem
- create_lb in modules/loadbalancer
- create_vcn in modules/network/vcn
- db_subnet in modules/network/subnets
- lb_subnet in modules/network/subnets
Initializing provider plugins...
- Finding latest version of hashicorp/tls...
- Finding latest version of hashicorp/template...
- Finding latest version of hashicorp/null...
- Finding latest version of hashicorp/random...
- Finding hashicorp/oci versions matching "3.93.0"...
- Installing hashicorp/tls v2.0.1...
- Installed hashicorp/tls v2.0.1 (unauthenticated)
- Installing hashicorp/template v2.1.2...
- Installed hashicorp/template v2.1.2 (unauthenticated)
- Installing hashicorp/null v2.1.2...
- Installed hashicorp/null v2.1.2 (unauthenticated)
- Installing hashicorp/random v2.3.0...
- Installed hashicorp/random v2.3.0 (unauthenticated)
- Installing hashicorp/oci v3.93.0...
- Installed hashicorp/oci v3.93.0 (unauthenticated)
The following providers do not have any version constraints in configuration,
so the latest version was installed.
To prevent automatic upgrades to new major versions that may contain breaking
changes, we recommend adding version constraints in a required_providers block
in your configuration, with the constraint strings suggested below.
*hashicorp/null: version = "~> 2.1.2"
*hashicorp/random: version = "~> 2.3.0"
*hashicorp/template: version = "~> 2.1.2"
*hashicorp/tls: version = "~> 2.0.1"
Terraform has been successfully initialized!
You may now begin working with Terraform. Try running "terraform plan" to see
any changes that are required for your infrastructure. All Terraform commands
should now work.
If you ever set or change modules or backend configuration for Terraform,
rerun this command to reinitialize your working directory. If you forget, other
commands will detect it and remind you to do so if necessary.
2021/12/31 20:18:02 [WARN] Log levels other than TRACE are currently unreliable, and are supported only for backward compatibility.
  Use TF_LOG=TRACE to see Terraform's internal logs.
  ----
data.oci_identity_availability_domains.ADs: Refreshing state...
module.create_vcn.data.oci_core_services.svcgtw_services: Refreshing state...
data.oci_core_images.InstanceImageOCID: Refreshing state...
data.oci_core_services.svcgtw_services: Refreshing state...
data.template_file.deployment_ad[0]: Refreshing state...
data.oci_identity_fault_domains.fds[0]: Refreshing state...
data.template_file.deployment_fd[2]: Refreshing state...
data.template_file.deployment_fd[1]: Refreshing state...
data.template_file.deployment_fd[0]: Refreshing state...
Error: Invalid index
  on main.tf line 99, in module "create_bastion" 
  99:   bastion_image           = data.oci_core_images.InstanceImageOCID.images[0].id
    |----------------
    | data.oci_core_images.InstanceImageOCID.images is empty list of object
The given key does not identify an element in this collection value.
Error: Invalid index
  on main.tf line 115, in module "create_app" 
 115:   compute_image                    = data.oci_core_images.InstanceImageOCID.images[0].id
    |----------------
    | data.oci_core_images.InstanceImageOCID.images is empty list of object
The given key does not identify an element in this collection value.
 
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