Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

feat: add terraform for oci oke #3

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open

Conversation

BobyMCbobs
Copy link
Member

terraform to provision an OKE cluster on OCI

@BobyMCbobs
Copy link
Member Author

Destroy appears to fail to clean up

  • oci_core_internet_gateway
  • oci_core_route_table
  • oci_core_security_list
  • oci_core_subnet
  • oci_core_vcn
Screenshot 2024-08-30 at 09 55 09

@BobyMCbobs
Copy link
Member Author

Error resulting with the following message

│ Error: 409-Conflict, The Subnet [REDACTED] references the service VNIC [REDACTED]. You must remove the reference to proceed with this operation.
│ Suggestion: The resource is in a conflicted state. Please retry again or contact support for help with service: Core Subnet
│ Documentation: https://registry.terraform.io/providers/oracle/oci/latest/docs/resources/core_subnet
│ API Reference:
│ Request Target: DELETE [REDACTED]
│ Provider version: 6.7.0, released on 2024-08-17. This provider is 1 Update(s) behind to current.
│ Service: Core Subnet
│ Operation Name: DeleteSubnet
│ OPC request ID: 7072042662d56809ae9d17a2e3619241/4DE3E488FA9E1BCD4DD813FAE463F584/F4E785041C199C19BFAE79A85E980E0F

@hh
Copy link

hh commented Aug 30, 2024

Might want to open an issue with the terraform provider for oracle if you think it's a bug. First glance I'd think that's the case.

@BobyMCbobs
Copy link
Member Author

Provisioning takes 20mins.

@BobyMCbobs
Copy link
Member Author

Opened a ticket here
oracle/terraform-provider-oci#2185

@BobyMCbobs BobyMCbobs force-pushed the add-terraform-oci-oke branch from cf42f51 to 9cd8ecc Compare September 5, 2024 20:50
terraform to provision an OKE cluster on OCI
@BobyMCbobs BobyMCbobs force-pushed the add-terraform-oci-oke branch from 9cd8ecc to 174389c Compare September 5, 2024 21:52
- use oke module in main
- remove currently not used terraform (reintroduce when needed)
adds output to get kubeconfig
use latest info
use an endpoint which everyone can access
@BobyMCbobs BobyMCbobs marked this pull request as ready for review September 8, 2024 23:42
add auth and tfstate info
change expression
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants