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

IBM Cloud kubernetes Cluster failing for create with error The specified cluster is a free cluster. Operation not supported #1901

Closed
M-Rushabh opened this issue Sep 22, 2020 · 4 comments

Comments

@M-Rushabh
Copy link
Contributor

M-Rushabh commented Sep 22, 2020

Terraform Version

0.12

Affected Resource(s)

Please list the resources as a list, for example:

  • ibm_container_cluster

If this issue appears to affect multiple resources, it may be an issue with Terraform's core, so please mention this.

Terraform Configuration Files

resource "ibm_container_cluster" "cluster" {
  name              = var.cluster_name
  datacenter        = var.worker_zone
  hardware          = var.hardware
  machine_type      = free
}

### Expected Behavior
Cluster should get created Successfully.

### Actual Behavior
Cluster getting created from Portal side but terraform throws error The specified cluster is a free cluster. for alb's which is not handled in resource.

### Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
1. `terraform apply`

### Important Factoids
Are there anything atypical about your accounts that we should know? For example: Running in EC2 Classic? Custom version of OpenStack? Tight ACLs?

### References
Are there any other GitHub issues (open or closed) or Pull Requests that should be linked here? For example:
- GH-1234
@hkantare
Copy link
Collaborator

For creating Free cluster you shouldn't send any vlans and other parameters ...The machine_type should be "free"

resource "ibm_container_cluster" "cluster" {
  name              = var.cluster_name
  datacenter        = var.worker_zone
  hardware          = var.hardware
  machine_type      = var.plan
}

@M-Rushabh
Copy link
Contributor Author

Updated the configuration file .
PR raise for this
#1903

@M-Rushabh
Copy link
Contributor Author

@hkantare This is tested and working fine. Request you to review the changes.

@hkantare
Copy link
Collaborator

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

2 participants