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

K8s Group with no Database creates no Bastion #20

Closed
MarcGueury opened this issue Jun 2, 2023 · 2 comments
Closed

K8s Group with no Database creates no Bastion #20

MarcGueury opened this issue Jun 2, 2023 · 2 comments

Comments

@MarcGueury
Copy link
Collaborator

The group creation works.
But for ex, a child project with K8s fails with

Error: can not marshal to path in request for field InstanceId. Due to can not marshal a nil pointer

  with data.oci_core_instance.starter_bastion,
  on bastion_existing.tf line 3, in data "oci_core_instance" "starter_bastion":
   3: data "oci_core_instance" "starter_bastion" {

Failed (RESULT=1)
Failed (RESULT=1)
@MarcGueury
Copy link
Collaborator Author

MarcGueury commented Jun 2, 2023

The main issue is that bastion_existing.tf is created in src/terraform when no database is not selected.
This should not be done.

Work-around

cd project
rm src/terraform/bastion_existing.tf

@MarcGueury
Copy link
Collaborator Author

Fixed on the 3rd june.

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