You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: "Minimum health color (Green, Yellow, Red, or Grey) required for the target environment to be considered healthy."
35
35
default: "Green"
@@ -38,26 +38,43 @@ inputs:
38
38
platform_branch_name:
39
39
description: "Name of the platform branch to use. When creating a new environment, it will be launched with the latest version of the specified platform branch. To see the list of available platform branches, run the `aws elasticbeanstalk list-platform-branches` command."
40
40
production_cname:
41
-
description: "CNAME prefix for the domain that serves production traffic."
42
-
required: true
41
+
description: "CNAME prefix for the domain that serves production traffic when performing a blue/green deployment."
42
+
needs: [blue_env, green_env, staging_cname]
43
+
send_command:
44
+
description: "Command to send to the target environment after (optional) deployment. Specify a shell script or series of commands to run. Useful for running tasks related to deployment, such as swapping environment variables before promoting an environment to production."
45
+
single_env:
46
+
description: "Name of a single environment to deploy. If specified, the blue/green environments and production/staging CNAMEs must not be provided."
47
+
needs: [single_env_cname]
48
+
single_env_cname:
49
+
description: "CNAME prefix to use for a single-environment deployment."
50
+
needs: [single_env]
43
51
source_bundle:
44
52
description: "Path to the source bundle to deploy. If not specified, the sample application will be used."
45
53
staging_cname:
46
-
description: "CNAME prefix for the staging environment."
47
-
required: true
54
+
description: "CNAME prefix of the staging environment for a blue/green deployment."
55
+
needs: [blue_env, green_env, production_cname]
48
56
swap_cnames:
49
57
description: "Whether to swap the CNAMEs of the blue and green environments."
50
58
default: "false"
51
59
template_name:
52
60
description: "Name of an Elastic Beanstalk configuration template to use when creating a new environment."
53
61
terminate_unhealthy_environment:
54
62
description: "Whether to terminate an unhealthy target environment. If set to false, the action will fail if the target environment is unhealthy."
55
-
default: "true"
63
+
default: "false"
56
64
update_environment:
57
65
description: "Whether to update an existing environment during deployment."
58
66
default: "true"
59
67
update_listener_rules:
60
-
description: "When set to true, the action will update any elbv2 listener rules on the environments' SharedLoadBalancer tagged with a `bluegreenbeanstalk:target_cname` key, whose value is equal to the staging or production CNAME prefix, so that it forwards to the corresponding target group. The action will also remove any target group from the listener before terminating the environment. The port of the process may be specified by another tag with the key `bluegreenbeanstalk:target_port` whose value is the port number. If no such tag is found, the default port of 80 will be used."
68
+
description: |
69
+
When set to true, the action will update any elbv2 listener rules on the environments' SharedLoadBalancer tagged with a `bluegreenbeanstalk:target_cname` key, whose value is equal to an environment's CNAME prefix, so that it forwards to the corresponding target group.
70
+
71
+
For example, you can tag a listener rule that matches the host `my-domain.com` with a tag containing `bluegreenbeanstalk:target_cname` as its key and `my-prod-cname` as its value, and the action will update the listener rule to point to the same target group as the environment with the CNAME `my-prod-cname`.
72
+
73
+
The listener rules are updated after the CNAMEs are swapped, so this keeps the listener rules in sync with the CNAMEs.
74
+
75
+
The port of the process may be specified by another tag with the key `bluegreenbeanstalk:target_port` whose value is the port number. If no such tag is found, the default port of 80 will be used.
76
+
77
+
If you'd only like to update the listener rules for a certain CNAME, you can set this input to the CNAME prefix you'd like to update.
61
78
default: "false"
62
79
use_default_option_settings:
63
80
description: "Whether to use default option settings when creating a new environment."
@@ -66,6 +83,9 @@ inputs:
66
83
description: "Description to use for the new application version."
67
84
version_label:
68
85
description: "Version label to use for the new application version."
86
+
wait_for_command:
87
+
description: "Whether to wait for the send_command execution to complete."
88
+
default: "true"
69
89
wait_for_deployment:
70
90
description: "Whether to wait for the deployment to complete."
0 commit comments