ansible-collections / ansible-collections/google.cloud

can not provision other disk types except pd-standard

Open
#471 1 comment 0 reactions 0 assignees View on GitHub
stale
Dominant language
Python
Stars
105
Forks
144
Avg merge
5d 10h
Merged PRs (30d)
4

Description

https://github.com/ansible-collections/google.cloud/blob/ec093086ab2b7ab203e23e1d45ba7944a737f7b8/plugins/modules/gcp_compute_instance_template.py#L1203

if comment it, **return name** directly, it works

ansible google.cloud collection version == 1.0.2

Contributor guide

Open the contributing guide

Research direction

Start at plugins/modules/gcp_compute_instance_template.py around line 1203 and reproduce the failure with a disk type other than pd-standard using google.cloud collection version 1.0.2. Compare the behavior when the referenced line is commented out and the name is returned directly. Done means the module provisions the requested disk types without breaking pd-standard behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
ansible, google-cloud, python
Domain
cloud, devops
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
62/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.