Skip to content

Deploy to Oracle Cloud failed #10

@howowi

Description

@howowi

Hi,

I tried to run this stack using the Deploy to Oracle Cloud button but it failed. Seems like the stack couldn't get my tenancy home region. Anyway to fix this? Thanks!

Initializing provider plugins...
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, it is recommended to add version = "..." constraints to the
corresponding provider blocks in configuration, with the constraint strings
suggested below.
*provider.null: version = "~> 2.1"
*provider.oci: version = "~> 4.44"
*provider.random: version = "~> 2.3"
*provider.template: version = "~> 2.1"
*provider.tls: version = "~> 2.0"
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/09/21 07:45:17 [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_region_subscriptions.home_region_subscriptions: Refreshing state...
data.oci_core_images.InstanceImageOCID: Refreshing state...
Error: Attempt to index null value
  on provider.tf line 18, in provider "oci" 
  18:   region               = data.oci_identity_region_subscriptions.home_region_subscriptions.region_subscriptions[0].region_name
    |----------------
    | data.oci_identity_region_subscriptions.home_region_subscriptions.region_subscriptions is null
This value is null, so it does not have any indices.

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