-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GCE: Make the skip-networks list configurable and add tf-network to it.
In GCE the networking and security resources don't have tags neither metadata. Also the delete protection feature isn't available for those. Instead, all of those resources have link to the 'network' resource, which we have whitelist for. So I: 1) Make this whitelist of GCE `skip-networks` configurable in `pcw.ini` 2) Add `tf-network` to this list (see https://gitlab.suse.de/qac/terraform)
- Loading branch information
Showing
2 changed files
with
7 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,6 +31,9 @@ to = <[email protected]> | |
[cleanup] | ||
# Max age of data storage resources ( used in EC2 only ) | ||
ec2-max-age-days = 1 | ||
# The list of networks which themselves as well as their resources should not be cleaned up | ||
# This is due to fact that netowrk and security resources in GCP don't have neither tags nor metadata | ||
gce-skip-networks = default,tf-network | ||
# Max age of data storage resources ( used in Azure and GCE ) | ||
max-age-hours = 1 | ||
# Max age for images in Openstack | ||
|