vagrant-google icon indicating copy to clipboard operation
vagrant-google copied to clipboard

'tags' only apply if zone explicitly set?

Open tracemeyers opened this issue 6 years ago • 4 comments

Do tags only apply if the zone is explicitly set?

This did not work (tags printed on the console was []:

google.tags = ['http-server', 'https-server']

but this did work (tags printed on the console was ["http-server", "https-server"]):

google.zone = "us-east1-b"                    
google.zone_config "us-east1-b" do |zone|     
    zone.tags = ['http-server', 'https-server']
end                                           

If that's the case, then this wasn't obvious to me so let me know the intended behavior.

tracemeyers avatar Apr 06 '18 20:04 tracemeyers