GuideReference
TrainingSupportCommunity
Guide

States

akamai_iam_states

Get the list of supported US states or Canadian provinces.

data "akamai_iam_states" "my_states" {
  country = "Canada"
}

output "my_states" {
  value = data.akamai_iam_states.my_states
}
Changes to Outputs:
  + my_states = {
      + country = "Canada"
      + id      = "akamai_iam_states"
      + states  = [
          + "AB",
          + "BC",
          + "MB",
          + "NB",
          + "NF",
          + "NS",
          + "NT",
          + "NU",
          + "ON",
          + "PE",
          + "PQ",
          + "QC",
          + "SK",
          + "TBD",
          + "YK",
        ]
    }

Arguments

Filter the results by country, but only for USA and Canada.

Attributes

Returned to you is a computed list of US states or Canadian provinces.