Difference between revisions of "Terraform resource: aws ecs cluster"

From wikieduonline
Jump to navigation Jump to search
 
(20 intermediate revisions by the same user not shown)
Line 1: Line 1:
* https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/ecs_cluster
+
Terraform resource <code>[[aws_ecs_cluster]]</code> <ref>https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/ecs_cluster</ref>
 +
* <code>[[name]]</code>
 +
* [[setting]]: <code>[[containerInsights]]</code>
 +
* [[configuration]]: <code>[[execute_command_configuration]], [[kms_key_id]]</code>
  
== Official example ==
+
Alternatives:
<pre>
+
* [[Cloudformation]] <code>[[AWS::ECS::Cluster]]</code>
resource "aws_ecs_cluster" "foo" {
+
* [[AWS CLI]]: <code>[[aws ecs create-cluster]]</code>
 +
 
 +
== Examples ==
 +
=== Official example ===
 +
resource "aws_ecs_cluster" "foo" {
 
   name = "white-hart"
 
   name = "white-hart"
 
+
 
   setting {
 
   setting {
     name  = "containerInsights"
+
     name  = "[[containerInsights]]"
 
     value = "enabled"
 
     value = "enabled"
 
   }
 
   }
}
+
}
</pre>
+
 
 +
=== Logging encryption ===
 +
{{aws_ecs_cluster_with_logging_encryption}}
  
 
== Related ==
 
== Related ==
* <code>[[AWS::ECS::Cluster]]</code>
+
* <code>[[aws_ecs_service]]</code>
* <code>[[aws ecs create-cluster]]</code>
+
* <code>[[log_configuration]]</code>
 +
* [[Amazon ECS CloudWatch Container Insights]]
 +
* <code>[[aws_ecs_cluster_capacity_providers]]</code>
  
 
== See also ==
 
== See also ==
 +
* {{aws_ecs_cluster}}
 
* {{tf ecs}}
 
* {{tf ecs}}
  
 
[[Category:Terraform]]
 
[[Category:Terraform]]

Latest revision as of 09:50, 5 October 2023

Advertising: