ansible-collections / ansible-collections/google.cloud

Support modification of GCE tags

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

Description

##### SUMMARY
The current implementation does not support to update tags of GCE instances. This can currently only achieved by using community modules like [this](https://docs.ansible.com/ansible/latest/collections/community/google/gce_tag_module.html), which in turn does only support SA based authentication.

##### ISSUE TYPE
- Feature Idea

##### COMPONENT NAME
gce_tags / gce_set_tags / gcp_compute_tags

##### ADDITIONAL INFORMATION
Updating GCE tags is currently not supported. Such a module would use the `setTags` method to update it.

```yaml
gcp_compute_tags:
instance: "foo"
tags:
- http-server
- https-server
```

Contributor guide

Open the contributing guide

Research direction

Start by locating the existing gce_tags, gce_set_tags, or gcp_compute_tags component and read the Google Compute Engine setTags method referenced in the issue. Use the provided YAML example to understand the expected inputs, then verify that the module can update an instance's tags with the collection's supported authentication and testing conventions. Done means GCE instance tags can be modified through the collection module.

Written by the indexing model from the issue text.

Assessment

Tech stack
ansible, gcp
Domain
cloud, devops
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
65/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.