-
Notifications
You must be signed in to change notification settings - Fork 5
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
Unable to create a mysql instance (Value of unknown type: <class 'scaleway.rdb.v1.types.Volume'>,) #12
Comments
I have the same error with a loadbalancer resource: - name: Create a LoadBalancer
scaleway.scaleway.scaleway_lb:
secret_key: "{{ awx_scaleway_project.secret_key }}"
access_key: "{{ awx_scaleway_project.access_key }}"
organization_id: "{{ awx_scaleway_project.organization_id }}"
project_id: "{{ awx_scaleway_project.project_id }}"
name: AWX
description: AWX LoadBalancer
type_: lb-s
region: fr-par
ssl_compatibility_level: ssl_compatibility_level_modern Results in
Right now the collection is unusable. Creating via the CLI works. |
I managed to workaround using direct calls to the API, but that's defeat the whole point of having a module: - name: List LoadBalancers
ansible.builtin.uri:
method: GET
headers:
X-Auth-Token: "{{ awx__scaleway_project.secret_key }}"
url: "https://api.scaleway.com/lb/v1/zones/{{ awx__scaleway_project.zone }}/lbs?name={{ awx__loadbalancer_name }}"
register: lbs
- name: Create a LoadBalancer
ansible.builtin.uri:
method: POST
headers:
X-Auth-Token: "{{ awx__scaleway_project.secret_key }}"
body_format: json
url: "https://api.scaleway.com/lb/v1/zones/{{ awx__scaleway_project.zone }}/lbs"
body:
name: "{{ awx__loadbalancer_name }}"
description: "{{ awx__loadbalancer_description }}"
project_id: "{{ awx__scaleway_project.project_id }}"
when: lbs.json.total_count == 0
register: lb |
Most of this collection modules looks broken for the lack of a proper handling of the So as of now almost the entire collection modules are not really in a working state? |
Hi! I wanted to let you know that the collection was stalled because I switched teams and am no longer maintaining Ansible at Scaleway. However, a new maintainer has started taking over the project, so you should see some updates and fixes coming soon. Thanks for your patience and sorry for any inconvenience in the meantime! |
Hello,
I can't create an error-free mysql instance with your new collection with this simple task:
The instance is created fine but I have this error:
I don't think I made a mistake with the type of my variables, at least, I followed the documentation with ansible-doc
Thanks for this collection and for looking at this.
The text was updated successfully, but these errors were encountered: