Skip to content

Commit

Permalink
Add rocky-linux-cloud to the builtin project to search for images if …
Browse files Browse the repository at this point in the history
…image name contains rocky-linux Closes hashicorp#11184 (hashicorp#5773)

Co-authored-by: Rens Sikma <rens@atcomputing.nl>
Signed-off-by: Modular Magician <magic-modules@google.com>
  • Loading branch information
modular-magician and Rens Sikma committed Mar 3, 2022
1 parent 4559c70 commit 84c135d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .changelog/5773.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:enhancement
compute: added `rocky-linux-cloud` to the builtin project to search for images if image name contains `rocky-linux`
```
1 change: 1 addition & 0 deletions google/image.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ var imageMap = map[string]string{
"debian": "debian-cloud",
"opensuse": "opensuse-cloud",
"rhel": "rhel-cloud",
"rocky-linux": "rocky-linux-cloud",
"sles": "suse-cloud",
"ubuntu": "ubuntu-os-cloud",
"windows": "windows-cloud",
Expand Down

0 comments on commit 84c135d

Please sign in to comment.