Skip to content

Conversation

@djpragmaticcoders
Copy link

No description provided.

] : a if a != ""]

enabled = true
price_class = "PriceClass_100"
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

zrobmy z tego parametr


restrictions {
geo_restriction {
restriction_type = "none"
Copy link

@arektomala arektomala Jul 4, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

potrzebne by to sparamentryzowac i dodac locations jako podzmienna do blokowania regionów

z terraforma powinno byc tak
restrictions {
geo_restriction {
restriction_type = "whitelist"
locations = ["US", "CA", "GB", "DE"]

geo_restriction {
restriction_type = "none"
restriction_type = var.restriction_type
locations = [var.locations]
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Moze Ci sie wywalic, jezeli domyslnie restriction bedzie na none. Locations domyslnie chyba powinno byc na null w tkaim wypadku

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

zmienilem, powinno byc ok

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants