cloudformation-ruby-dsl 0.4.0 → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/bin/cfn-cmd +4 -0
- data/lib/cloudformation-ruby-dsl/version.rb +1 -1
- data/vendor/AWSCloudFormation-1.0.12/README.TXT +44 -0
- data/vendor/AWSCloudFormation-1.0.12/RELEASENOTES.TXT +6 -0
- data/vendor/AWSCloudFormation-1.0.12/THIRDPARTYLICENSE.TXT +824 -0
- data/vendor/AWSCloudFormation-1.0.12/bin/cfn-cancel-update-stack +9 -0
- data/vendor/AWSCloudFormation-1.0.12/bin/cfn-cancel-update-stack.cmd +19 -0
- data/vendor/AWSCloudFormation-1.0.12/bin/cfn-cmd +20 -0
- data/vendor/AWSCloudFormation-1.0.12/bin/cfn-cmd.cmd +42 -0
- data/vendor/AWSCloudFormation-1.0.12/bin/cfn-create-stack +7 -0
- data/vendor/AWSCloudFormation-1.0.12/bin/cfn-create-stack.cmd +19 -0
- data/vendor/AWSCloudFormation-1.0.12/bin/cfn-delete-stack +7 -0
- data/vendor/AWSCloudFormation-1.0.12/bin/cfn-delete-stack.cmd +19 -0
- data/vendor/AWSCloudFormation-1.0.12/bin/cfn-describe-stack-events +7 -0
- data/vendor/AWSCloudFormation-1.0.12/bin/cfn-describe-stack-events.cmd +19 -0
- data/vendor/AWSCloudFormation-1.0.12/bin/cfn-describe-stack-resource +7 -0
- data/vendor/AWSCloudFormation-1.0.12/bin/cfn-describe-stack-resource.cmd +19 -0
- data/vendor/AWSCloudFormation-1.0.12/bin/cfn-describe-stack-resources +7 -0
- data/vendor/AWSCloudFormation-1.0.12/bin/cfn-describe-stack-resources.cmd +19 -0
- data/vendor/AWSCloudFormation-1.0.12/bin/cfn-describe-stacks +7 -0
- data/vendor/AWSCloudFormation-1.0.12/bin/cfn-describe-stacks.cmd +19 -0
- data/vendor/AWSCloudFormation-1.0.12/bin/cfn-get-template +7 -0
- data/vendor/AWSCloudFormation-1.0.12/bin/cfn-get-template.cmd +19 -0
- data/vendor/AWSCloudFormation-1.0.12/bin/cfn-list-stack-resources +7 -0
- data/vendor/AWSCloudFormation-1.0.12/bin/cfn-list-stack-resources.cmd +19 -0
- data/vendor/AWSCloudFormation-1.0.12/bin/cfn-list-stacks +7 -0
- data/vendor/AWSCloudFormation-1.0.12/bin/cfn-list-stacks.cmd +19 -0
- data/vendor/AWSCloudFormation-1.0.12/bin/cfn-update-stack +7 -0
- data/vendor/AWSCloudFormation-1.0.12/bin/cfn-update-stack.cmd +19 -0
- data/vendor/AWSCloudFormation-1.0.12/bin/cfn-validate-template +7 -0
- data/vendor/AWSCloudFormation-1.0.12/bin/cfn-validate-template.cmd +19 -0
- data/vendor/AWSCloudFormation-1.0.12/bin/cfn-version +7 -0
- data/vendor/AWSCloudFormation-1.0.12/bin/cfn-version.cmd +21 -0
- data/vendor/AWSCloudFormation-1.0.12/bin/service +29 -0
- data/vendor/AWSCloudFormation-1.0.12/bin/service.cmd +74 -0
- data/vendor/AWSCloudFormation-1.0.12/credential-file-path.template +2 -0
- 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 +96 -0
- data/vendor/AWSCloudFormation-1.0.12/notice.txt +40 -0
- metadata +63 -1
|
@@ -0,0 +1,19 @@
|
|
|
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
|
|
@@ -0,0 +1,20 @@
|
|
|
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
|
+
# AWS_CLOUDFORMATION_HOME=`dirname $0`
|
|
6
|
+
# echo $AWS_CLOUDFORMATION_HOME
|
|
7
|
+
|
|
8
|
+
puts "hi"
|
|
9
|
+
|
|
10
|
+
# # Check AWS_CLOUDFORMATION_HOME
|
|
11
|
+
# if [ -z "${AWS_CLOUDFORMATION_HOME}" ]; then
|
|
12
|
+
# echo AWS_CLOUDFORMATION_HOME is not set
|
|
13
|
+
# exit 1
|
|
14
|
+
# fi
|
|
15
|
+
#
|
|
16
|
+
#
|
|
17
|
+
# export SERVICE_HOME=${AWS_CLOUDFORMATION_HOME}
|
|
18
|
+
#
|
|
19
|
+
#
|
|
20
|
+
# exec "${AWS_CLOUDFORMATION_HOME}/bin/service" "$@"
|
|
@@ -0,0 +1,42 @@
|
|
|
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
|
+
|
|
@@ -0,0 +1,19 @@
|
|
|
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
|
|
@@ -0,0 +1,19 @@
|
|
|
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
|
|
@@ -0,0 +1,19 @@
|
|
|
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
|
|
@@ -0,0 +1,19 @@
|
|
|
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
|
|
@@ -0,0 +1,19 @@
|
|
|
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
|
|
@@ -0,0 +1,19 @@
|
|
|
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
|
|
@@ -0,0 +1,19 @@
|
|
|
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
|
|
@@ -0,0 +1,19 @@
|
|
|
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
|
|
@@ -0,0 +1,19 @@
|
|
|
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
|
|
@@ -0,0 +1,19 @@
|
|
|
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
|
|
@@ -0,0 +1,19 @@
|
|
|
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
|
|
@@ -0,0 +1,21 @@
|
|
|
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
|
+
|