aws_codedeploy_deployment_group

Nivis Nix constructor for the aws_codedeploy_deployment_group resource (provider aws). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.

Constructor
{
  name,
  app_name,
  deployment_group_name,
  service_role_arn,
  autoscaling_groups ? null,
  deployment_config_name ? null,
  id ? null,
  outdated_instances_strategy ? null,
  region ? null,
  tags ? null,
  tags_all ? null,
  termination_hook_enabled ? null,
  alarm_configuration ? null,
  auto_rollback_configuration ? null,
  blue_green_deployment_config ? null,
  deployment_style ? null,
  ec2_tag_filter ? null,
  ec2_tag_set ? null,
  ecs_service ? null,
  load_balancer_info ? null,
  on_premises_instance_tag_filter ? null,
  trigger_configuration ? null,
  overrides ? {}
}
Required arguments
  • app_name
  • deployment_group_name
  • service_role_arn
Optional arguments
  • autoscaling_groups (defaults to null)
  • deployment_config_name (defaults to null)
  • id (defaults to null)
  • outdated_instances_strategy (defaults to null)
  • region (defaults to null)
  • tags (defaults to null)
  • tags_all (defaults to null)
  • termination_hook_enabled (defaults to null)
  • alarm_configuration (defaults to null)
  • auto_rollback_configuration (defaults to null)
  • blue_green_deployment_config (defaults to null)
  • deployment_style (defaults to null)
  • ec2_tag_filter (defaults to null)
  • ec2_tag_set (defaults to null)
  • ecs_service (defaults to null)
  • load_balancer_info (defaults to null)
  • on_premises_instance_tag_filter (defaults to null)
  • trigger_configuration (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • arn
  • compute_platform
  • deployment_group_id
Example
aws_codedeploy_deployment_group {
  name = "codedeploy_deployment_group";
  app_name = …;  # required
  deployment_group_name = …;  # required
  service_role_arn = …;  # required
}

The reference for every provider is generated from the provider's own schema, not copied from its documentation.