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

Deploy to Oracle Cloud failed #10

Open
howowi opened this issue Sep 21, 2021 · 0 comments
Open

Deploy to Oracle Cloud failed #10

howowi opened this issue Sep 21, 2021 · 0 comments

Comments

@howowi
Copy link

howowi commented Sep 21, 2021

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.
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