cloudformation-ruby-dsl 0.5.4 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -3
- data/bin/cfntemplate-to-ruby +2 -0
- data/cloudformation-ruby-dsl.gemspec +4 -3
- data/examples/cloudformation-ruby-script.rb +9 -9
- data/lib/cloudformation-ruby-dsl/cfntemplate.rb +187 -341
- data/lib/cloudformation-ruby-dsl/dsl.rb +249 -0
- data/lib/cloudformation-ruby-dsl/version.rb +1 -1
- metadata +34 -79
- data/vendor/AWSCloudFormation-1.0.12/README.TXT +0 -44
- data/vendor/AWSCloudFormation-1.0.12/RELEASENOTES.TXT +0 -6
- data/vendor/AWSCloudFormation-1.0.12/THIRDPARTYLICENSE.TXT +0 -824
- data/vendor/AWSCloudFormation-1.0.12/bin/cfn-cancel-update-stack +0 -9
- data/vendor/AWSCloudFormation-1.0.12/bin/cfn-cancel-update-stack.cmd +0 -19
- data/vendor/AWSCloudFormation-1.0.12/bin/cfn-cmd +0 -15
- data/vendor/AWSCloudFormation-1.0.12/bin/cfn-cmd.cmd +0 -42
- data/vendor/AWSCloudFormation-1.0.12/bin/cfn-create-stack +0 -7
- data/vendor/AWSCloudFormation-1.0.12/bin/cfn-create-stack.cmd +0 -19
- data/vendor/AWSCloudFormation-1.0.12/bin/cfn-delete-stack +0 -7
- data/vendor/AWSCloudFormation-1.0.12/bin/cfn-delete-stack.cmd +0 -19
- data/vendor/AWSCloudFormation-1.0.12/bin/cfn-describe-stack-events +0 -7
- data/vendor/AWSCloudFormation-1.0.12/bin/cfn-describe-stack-events.cmd +0 -19
- data/vendor/AWSCloudFormation-1.0.12/bin/cfn-describe-stack-resource +0 -7
- data/vendor/AWSCloudFormation-1.0.12/bin/cfn-describe-stack-resource.cmd +0 -19
- data/vendor/AWSCloudFormation-1.0.12/bin/cfn-describe-stack-resources +0 -7
- data/vendor/AWSCloudFormation-1.0.12/bin/cfn-describe-stack-resources.cmd +0 -19
- data/vendor/AWSCloudFormation-1.0.12/bin/cfn-describe-stacks +0 -7
- data/vendor/AWSCloudFormation-1.0.12/bin/cfn-describe-stacks.cmd +0 -19
- data/vendor/AWSCloudFormation-1.0.12/bin/cfn-get-template +0 -7
- data/vendor/AWSCloudFormation-1.0.12/bin/cfn-get-template.cmd +0 -19
- data/vendor/AWSCloudFormation-1.0.12/bin/cfn-list-stack-resources +0 -7
- data/vendor/AWSCloudFormation-1.0.12/bin/cfn-list-stack-resources.cmd +0 -19
- data/vendor/AWSCloudFormation-1.0.12/bin/cfn-list-stacks +0 -7
- data/vendor/AWSCloudFormation-1.0.12/bin/cfn-list-stacks.cmd +0 -19
- data/vendor/AWSCloudFormation-1.0.12/bin/cfn-update-stack +0 -7
- data/vendor/AWSCloudFormation-1.0.12/bin/cfn-update-stack.cmd +0 -19
- data/vendor/AWSCloudFormation-1.0.12/bin/cfn-validate-template +0 -7
- data/vendor/AWSCloudFormation-1.0.12/bin/cfn-validate-template.cmd +0 -19
- data/vendor/AWSCloudFormation-1.0.12/bin/cfn-version +0 -7
- data/vendor/AWSCloudFormation-1.0.12/bin/cfn-version.cmd +0 -21
- data/vendor/AWSCloudFormation-1.0.12/bin/service +0 -29
- data/vendor/AWSCloudFormation-1.0.12/bin/service.cmd +0 -74
- data/vendor/AWSCloudFormation-1.0.12/credential-file-path.template +0 -2
- data/vendor/AWSCloudFormation-1.0.12/lib/CliCommando-1.0.jar +0 -0
- data/vendor/AWSCloudFormation-1.0.12/lib/activation-1.1.jar +0 -0
- data/vendor/AWSCloudFormation-1.0.12/lib/commons-cli-1.1.jar +0 -0
- data/vendor/AWSCloudFormation-1.0.12/lib/commons-codec-1.3.jar +0 -0
- data/vendor/AWSCloudFormation-1.0.12/lib/commons-discovery-0.2.jar +0 -0
- data/vendor/AWSCloudFormation-1.0.12/lib/commons-httpclient-3.0.jar +0 -0
- data/vendor/AWSCloudFormation-1.0.12/lib/commons-logging-1.0.4.jar +0 -0
- data/vendor/AWSCloudFormation-1.0.12/lib/commons-logging-api-1.1.1.jar +0 -0
- data/vendor/AWSCloudFormation-1.0.12/lib/httpclient-4.2.jar +0 -0
- data/vendor/AWSCloudFormation-1.0.12/lib/jaxb-api-2.0.jar +0 -0
- data/vendor/AWSCloudFormation-1.0.12/lib/jaxb-impl-2.0.1.jar +0 -0
- data/vendor/AWSCloudFormation-1.0.12/lib/jaxws-api-2.0.jar +0 -0
- data/vendor/AWSCloudFormation-1.0.12/lib/jdom-1.0.jar +0 -0
- data/vendor/AWSCloudFormation-1.0.12/lib/log4j.jar +0 -0
- data/vendor/AWSCloudFormation-1.0.12/lib/serializer.jar +0 -0
- data/vendor/AWSCloudFormation-1.0.12/lib/service.jar +0 -0
- data/vendor/AWSCloudFormation-1.0.12/lib/stax-api-1.0.1.jar +0 -0
- data/vendor/AWSCloudFormation-1.0.12/lib/wsdl4j-1.6.1.jar +0 -0
- data/vendor/AWSCloudFormation-1.0.12/lib/wss4j-1.5.7.jar +0 -0
- data/vendor/AWSCloudFormation-1.0.12/lib/wstx-asl-3.2.0.jar +0 -0
- data/vendor/AWSCloudFormation-1.0.12/lib/xalan-j2-2.7.0.jar +0 -0
- data/vendor/AWSCloudFormation-1.0.12/lib/xfire-all-1.2.6.jar +0 -0
- data/vendor/AWSCloudFormation-1.0.12/lib/xfire-jsr181-api-1.0-M1.jar +0 -0
- data/vendor/AWSCloudFormation-1.0.12/lib/xmlsec-1.4.2.jar +0 -0
- data/vendor/AWSCloudFormation-1.0.12/license.txt +0 -96
- data/vendor/AWSCloudFormation-1.0.12/notice.txt +0 -40
@@ -1,19 +0,0 @@
|
|
1
|
-
@echo off
|
2
|
-
|
3
|
-
setlocal
|
4
|
-
|
5
|
-
REM Set intermediate env vars because the %VAR:x=y% notation below
|
6
|
-
REM (which replaces the string x with the string y in VAR)
|
7
|
-
REM doesn't handle undefined environment variables. This way
|
8
|
-
REM we're always dealing with defined variables in those tests.
|
9
|
-
set CHK_HOME=_%AWS_CLOUDFORMATION_HOME%
|
10
|
-
|
11
|
-
if "%CHK_HOME:"=%" == "_" goto HOME_MISSING
|
12
|
-
|
13
|
-
"%AWS_CLOUDFORMATION_HOME:"=%\bin\cfn-cmd.cmd" cfn-cancel-update-stack %*
|
14
|
-
goto DONE
|
15
|
-
:HOME_MISSING
|
16
|
-
echo AWS_CLOUDFORMATION_HOME is not set
|
17
|
-
exit /b 1
|
18
|
-
|
19
|
-
:DONE
|
@@ -1,15 +0,0 @@
|
|
1
|
-
#!/usr/bin/env bash
|
2
|
-
# This script passes the service dependent SERVICE_HOME to the common service script to run the command
|
3
|
-
|
4
|
-
|
5
|
-
# Check AWS_CLOUDFORMATION_HOME
|
6
|
-
if [ -z "${AWS_CLOUDFORMATION_HOME}" ]; then
|
7
|
-
echo AWS_CLOUDFORMATION_HOME is not set
|
8
|
-
exit 1
|
9
|
-
fi
|
10
|
-
|
11
|
-
|
12
|
-
export SERVICE_HOME=${AWS_CLOUDFORMATION_HOME}
|
13
|
-
|
14
|
-
|
15
|
-
exec "${AWS_CLOUDFORMATION_HOME}/bin/service" "$@"
|
@@ -1,42 +0,0 @@
|
|
1
|
-
@echo off
|
2
|
-
|
3
|
-
|
4
|
-
setlocal
|
5
|
-
|
6
|
-
|
7
|
-
REM Set intermediate env vars because the %VAR:x=y% notation below
|
8
|
-
REM (which replaces the string x with the string y in VAR)
|
9
|
-
REM doesn't handle undefined environment variables. This way
|
10
|
-
REM we're always dealing with defined variables in those tests.
|
11
|
-
SET CHK_SERVICE_HOME=_%AWS_CLOUDFORMATION_HOME%
|
12
|
-
SET SERVICE_HOME=%AWS_CLOUDFORMATION_HOME%
|
13
|
-
|
14
|
-
|
15
|
-
if "%CHK_SERVICE_HOME:"=%" == "_" goto SERVICE_HOME_MISSING
|
16
|
-
|
17
|
-
|
18
|
-
SET SERVICE_HOME="%SERVICE_HOME:"=%"
|
19
|
-
|
20
|
-
|
21
|
-
:ARGV_LOOP
|
22
|
-
IF (%1) == () GOTO ARGV_DONE
|
23
|
-
REM Get around strange quoting bug
|
24
|
-
SET ARGV=%ARGV% %1
|
25
|
-
SHIFT
|
26
|
-
GOTO ARGV_LOOP
|
27
|
-
:ARGV_DONE
|
28
|
-
|
29
|
-
|
30
|
-
REM run
|
31
|
-
%SERVICE_HOME%\bin\service.cmd %ARGV%
|
32
|
-
goto DONE
|
33
|
-
|
34
|
-
|
35
|
-
:SERVICE_HOME_MISSING
|
36
|
-
echo AWS_CLOUDFORMATION_HOME is not set
|
37
|
-
exit /b 1
|
38
|
-
|
39
|
-
|
40
|
-
:DONE
|
41
|
-
endlocal
|
42
|
-
|
@@ -1,19 +0,0 @@
|
|
1
|
-
@echo off
|
2
|
-
|
3
|
-
setlocal
|
4
|
-
|
5
|
-
REM Set intermediate env vars because the %VAR:x=y% notation below
|
6
|
-
REM (which replaces the string x with the string y in VAR)
|
7
|
-
REM doesn't handle undefined environment variables. This way
|
8
|
-
REM we're always dealing with defined variables in those tests.
|
9
|
-
set CHK_HOME=_%AWS_CLOUDFORMATION_HOME%
|
10
|
-
|
11
|
-
if "%CHK_HOME:"=%" == "_" goto HOME_MISSING
|
12
|
-
|
13
|
-
"%AWS_CLOUDFORMATION_HOME:"=%\bin\cfn-cmd.cmd" cfn-create-stack %*
|
14
|
-
goto DONE
|
15
|
-
:HOME_MISSING
|
16
|
-
echo AWS_CLOUDFORMATION_HOME is not set
|
17
|
-
exit /b 1
|
18
|
-
|
19
|
-
:DONE
|
@@ -1,19 +0,0 @@
|
|
1
|
-
@echo off
|
2
|
-
|
3
|
-
setlocal
|
4
|
-
|
5
|
-
REM Set intermediate env vars because the %VAR:x=y% notation below
|
6
|
-
REM (which replaces the string x with the string y in VAR)
|
7
|
-
REM doesn't handle undefined environment variables. This way
|
8
|
-
REM we're always dealing with defined variables in those tests.
|
9
|
-
set CHK_HOME=_%AWS_CLOUDFORMATION_HOME%
|
10
|
-
|
11
|
-
if "%CHK_HOME:"=%" == "_" goto HOME_MISSING
|
12
|
-
|
13
|
-
"%AWS_CLOUDFORMATION_HOME:"=%\bin\cfn-cmd.cmd" cfn-delete-stack %*
|
14
|
-
goto DONE
|
15
|
-
:HOME_MISSING
|
16
|
-
echo AWS_CLOUDFORMATION_HOME is not set
|
17
|
-
exit /b 1
|
18
|
-
|
19
|
-
:DONE
|
@@ -1,19 +0,0 @@
|
|
1
|
-
@echo off
|
2
|
-
|
3
|
-
setlocal
|
4
|
-
|
5
|
-
REM Set intermediate env vars because the %VAR:x=y% notation below
|
6
|
-
REM (which replaces the string x with the string y in VAR)
|
7
|
-
REM doesn't handle undefined environment variables. This way
|
8
|
-
REM we're always dealing with defined variables in those tests.
|
9
|
-
set CHK_HOME=_%AWS_CLOUDFORMATION_HOME%
|
10
|
-
|
11
|
-
if "%CHK_HOME:"=%" == "_" goto HOME_MISSING
|
12
|
-
|
13
|
-
"%AWS_CLOUDFORMATION_HOME:"=%\bin\cfn-cmd.cmd" cfn-describe-stack-events %*
|
14
|
-
goto DONE
|
15
|
-
:HOME_MISSING
|
16
|
-
echo AWS_CLOUDFORMATION_HOME is not set
|
17
|
-
exit /b 1
|
18
|
-
|
19
|
-
:DONE
|
@@ -1,19 +0,0 @@
|
|
1
|
-
@echo off
|
2
|
-
|
3
|
-
setlocal
|
4
|
-
|
5
|
-
REM Set intermediate env vars because the %VAR:x=y% notation below
|
6
|
-
REM (which replaces the string x with the string y in VAR)
|
7
|
-
REM doesn't handle undefined environment variables. This way
|
8
|
-
REM we're always dealing with defined variables in those tests.
|
9
|
-
set CHK_HOME=_%AWS_CLOUDFORMATION_HOME%
|
10
|
-
|
11
|
-
if "%CHK_HOME:"=%" == "_" goto HOME_MISSING
|
12
|
-
|
13
|
-
"%AWS_CLOUDFORMATION_HOME:"=%\bin\cfn-cmd.cmd" cfn-describe-stack-resource %*
|
14
|
-
goto DONE
|
15
|
-
:HOME_MISSING
|
16
|
-
echo AWS_CLOUDFORMATION_HOME is not set
|
17
|
-
exit /b 1
|
18
|
-
|
19
|
-
:DONE
|
@@ -1,19 +0,0 @@
|
|
1
|
-
@echo off
|
2
|
-
|
3
|
-
setlocal
|
4
|
-
|
5
|
-
REM Set intermediate env vars because the %VAR:x=y% notation below
|
6
|
-
REM (which replaces the string x with the string y in VAR)
|
7
|
-
REM doesn't handle undefined environment variables. This way
|
8
|
-
REM we're always dealing with defined variables in those tests.
|
9
|
-
set CHK_HOME=_%AWS_CLOUDFORMATION_HOME%
|
10
|
-
|
11
|
-
if "%CHK_HOME:"=%" == "_" goto HOME_MISSING
|
12
|
-
|
13
|
-
"%AWS_CLOUDFORMATION_HOME:"=%\bin\cfn-cmd.cmd" cfn-describe-stack-resources %*
|
14
|
-
goto DONE
|
15
|
-
:HOME_MISSING
|
16
|
-
echo AWS_CLOUDFORMATION_HOME is not set
|
17
|
-
exit /b 1
|
18
|
-
|
19
|
-
:DONE
|
@@ -1,19 +0,0 @@
|
|
1
|
-
@echo off
|
2
|
-
|
3
|
-
setlocal
|
4
|
-
|
5
|
-
REM Set intermediate env vars because the %VAR:x=y% notation below
|
6
|
-
REM (which replaces the string x with the string y in VAR)
|
7
|
-
REM doesn't handle undefined environment variables. This way
|
8
|
-
REM we're always dealing with defined variables in those tests.
|
9
|
-
set CHK_HOME=_%AWS_CLOUDFORMATION_HOME%
|
10
|
-
|
11
|
-
if "%CHK_HOME:"=%" == "_" goto HOME_MISSING
|
12
|
-
|
13
|
-
"%AWS_CLOUDFORMATION_HOME:"=%\bin\cfn-cmd.cmd" cfn-describe-stacks %*
|
14
|
-
goto DONE
|
15
|
-
:HOME_MISSING
|
16
|
-
echo AWS_CLOUDFORMATION_HOME is not set
|
17
|
-
exit /b 1
|
18
|
-
|
19
|
-
:DONE
|
@@ -1,19 +0,0 @@
|
|
1
|
-
@echo off
|
2
|
-
|
3
|
-
setlocal
|
4
|
-
|
5
|
-
REM Set intermediate env vars because the %VAR:x=y% notation below
|
6
|
-
REM (which replaces the string x with the string y in VAR)
|
7
|
-
REM doesn't handle undefined environment variables. This way
|
8
|
-
REM we're always dealing with defined variables in those tests.
|
9
|
-
set CHK_HOME=_%AWS_CLOUDFORMATION_HOME%
|
10
|
-
|
11
|
-
if "%CHK_HOME:"=%" == "_" goto HOME_MISSING
|
12
|
-
|
13
|
-
"%AWS_CLOUDFORMATION_HOME:"=%\bin\cfn-cmd.cmd" cfn-get-template %*
|
14
|
-
goto DONE
|
15
|
-
:HOME_MISSING
|
16
|
-
echo AWS_CLOUDFORMATION_HOME is not set
|
17
|
-
exit /b 1
|
18
|
-
|
19
|
-
:DONE
|
@@ -1,19 +0,0 @@
|
|
1
|
-
@echo off
|
2
|
-
|
3
|
-
setlocal
|
4
|
-
|
5
|
-
REM Set intermediate env vars because the %VAR:x=y% notation below
|
6
|
-
REM (which replaces the string x with the string y in VAR)
|
7
|
-
REM doesn't handle undefined environment variables. This way
|
8
|
-
REM we're always dealing with defined variables in those tests.
|
9
|
-
set CHK_HOME=_%AWS_CLOUDFORMATION_HOME%
|
10
|
-
|
11
|
-
if "%CHK_HOME:"=%" == "_" goto HOME_MISSING
|
12
|
-
|
13
|
-
"%AWS_CLOUDFORMATION_HOME:"=%\bin\cfn-cmd.cmd" cfn-list-stack-resources %*
|
14
|
-
goto DONE
|
15
|
-
:HOME_MISSING
|
16
|
-
echo AWS_CLOUDFORMATION_HOME is not set
|
17
|
-
exit /b 1
|
18
|
-
|
19
|
-
:DONE
|
@@ -1,19 +0,0 @@
|
|
1
|
-
@echo off
|
2
|
-
|
3
|
-
setlocal
|
4
|
-
|
5
|
-
REM Set intermediate env vars because the %VAR:x=y% notation below
|
6
|
-
REM (which replaces the string x with the string y in VAR)
|
7
|
-
REM doesn't handle undefined environment variables. This way
|
8
|
-
REM we're always dealing with defined variables in those tests.
|
9
|
-
set CHK_HOME=_%AWS_CLOUDFORMATION_HOME%
|
10
|
-
|
11
|
-
if "%CHK_HOME:"=%" == "_" goto HOME_MISSING
|
12
|
-
|
13
|
-
"%AWS_CLOUDFORMATION_HOME:"=%\bin\cfn-cmd.cmd" cfn-list-stacks %*
|
14
|
-
goto DONE
|
15
|
-
:HOME_MISSING
|
16
|
-
echo AWS_CLOUDFORMATION_HOME is not set
|
17
|
-
exit /b 1
|
18
|
-
|
19
|
-
:DONE
|
@@ -1,19 +0,0 @@
|
|
1
|
-
@echo off
|
2
|
-
|
3
|
-
setlocal
|
4
|
-
|
5
|
-
REM Set intermediate env vars because the %VAR:x=y% notation below
|
6
|
-
REM (which replaces the string x with the string y in VAR)
|
7
|
-
REM doesn't handle undefined environment variables. This way
|
8
|
-
REM we're always dealing with defined variables in those tests.
|
9
|
-
set CHK_HOME=_%AWS_CLOUDFORMATION_HOME%
|
10
|
-
|
11
|
-
if "%CHK_HOME:"=%" == "_" goto HOME_MISSING
|
12
|
-
|
13
|
-
"%AWS_CLOUDFORMATION_HOME:"=%\bin\cfn-cmd.cmd" cfn-update-stack %*
|
14
|
-
goto DONE
|
15
|
-
:HOME_MISSING
|
16
|
-
echo AWS_CLOUDFORMATION_HOME is not set
|
17
|
-
exit /b 1
|
18
|
-
|
19
|
-
:DONE
|
@@ -1,19 +0,0 @@
|
|
1
|
-
@echo off
|
2
|
-
|
3
|
-
setlocal
|
4
|
-
|
5
|
-
REM Set intermediate env vars because the %VAR:x=y% notation below
|
6
|
-
REM (which replaces the string x with the string y in VAR)
|
7
|
-
REM doesn't handle undefined environment variables. This way
|
8
|
-
REM we're always dealing with defined variables in those tests.
|
9
|
-
set CHK_HOME=_%AWS_CLOUDFORMATION_HOME%
|
10
|
-
|
11
|
-
if "%CHK_HOME:"=%" == "_" goto HOME_MISSING
|
12
|
-
|
13
|
-
"%AWS_CLOUDFORMATION_HOME:"=%\bin\cfn-cmd.cmd" cfn-validate-template %*
|
14
|
-
goto DONE
|
15
|
-
:HOME_MISSING
|
16
|
-
echo AWS_CLOUDFORMATION_HOME is not set
|
17
|
-
exit /b 1
|
18
|
-
|
19
|
-
:DONE
|
@@ -1,21 +0,0 @@
|
|
1
|
-
@echo off
|
2
|
-
|
3
|
-
setlocal
|
4
|
-
|
5
|
-
REM Set intermediate env vars because the %VAR:x=y% notation below
|
6
|
-
REM (which replaces the string x with the string y in VAR)
|
7
|
-
REM doesn't handle undefined environment variables. This way
|
8
|
-
REM we're always dealing with defined variables in those tests.
|
9
|
-
set CHK_HOME=_%AWS_CLOUDFORMATION_HOME%
|
10
|
-
|
11
|
-
if "%CHK_HOME:"=%" == "_" goto HOME_MISSING
|
12
|
-
|
13
|
-
"%AWS_CLOUDFORMATION_HOME:"=%\bin\cfn-cmd.cmd" version %*
|
14
|
-
goto DONE
|
15
|
-
:HOME_MISSING
|
16
|
-
echo AWS_CLOUDFORMATION_HOME is not set
|
17
|
-
exit /b 1
|
18
|
-
|
19
|
-
:DONE
|
20
|
-
~
|
21
|
-
|