Provides an ECS default account setting for a specific ECS Resource name within a specific region. More information can be found on the ECS Developer Guide.
resource "aws_ecs_account_setting_default" "test" {
name = "taskLongArnFormat"
value = "enabled"
}
This resource supports the following arguments:
name
- (Required) Name of the account setting to set.value
- (Required) State of the setting.This resource exports the following attributes in addition to the arguments above:
id
- ARN that identifies the account setting.prinicpal_arn
- ARN that identifies the account setting.In Terraform v1.5.0 and later, use an import
block to import ECS Account Setting defaults using the name
. For example:
import {
to = aws_ecs_account_setting_default.example
id = "taskLongArnFormat"
}
Using terraform import
, import ECS Account Setting defaults using the name
. For example:
% terraform import aws_ecs_account_setting_default.example taskLongArnFormat