scalr_account_allowed_ips

Resource: scalr_account_allowed_ips

Manages the list of allowed IPs for an account in Scalr. Create, update and destroy.

Example Usage

resource "scalr_account_allowed_ips" "default" {
  account_id  = "acc-xxxxxxxxxx"
  allowed_ips = ["127.0.0.1", "192.168.0.0/24"]
}

Schema

Required

  • allowed_ips (List of String) The list of allowed IPs or CIDRs.

    Warning: if you don't specify the current IP address, you may lose access to the account. To restore it the account owner has to raise a support ticket.

Optional

  • account_id (String) ID of the account.

Read-Only

  • id (String) The ID of this resource. Equals to the ID of the account.

Import

Import is supported using the following syntax:

terraform import scalr_account_allowed_ips.example acc-xxxxxxxxxx