scalr_account_allowed_ips
Resource scalr_account_allowed_ips
scalr_account_allowed_ips
Manages the list of allowed IPs for an account in Scalr. Create, update and destroy.
Example Usage
Basic usage:
resource "scalr_account_allowed_ips" "default" {
account_id = "acc-xxxxxxxx"
allowed_ips = ["127.0.0.1", "192.168.0.0/24"]
}
Argument Reference
account_id
- (Required) ID of the account.allowed_ips
- (Optional) 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
Attribute Reference
All arguments plus:
id
- The ID of the account.
Import
To import allowed ips for an account use account ID as the import ID. For example:
terraform import scalr_account_allowed_ips.default acc-xxxxxxxxx
Updated 4 months ago