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.
Files changed (69) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +3 -3
  3. data/bin/cfntemplate-to-ruby +2 -0
  4. data/cloudformation-ruby-dsl.gemspec +4 -3
  5. data/examples/cloudformation-ruby-script.rb +9 -9
  6. data/lib/cloudformation-ruby-dsl/cfntemplate.rb +187 -341
  7. data/lib/cloudformation-ruby-dsl/dsl.rb +249 -0
  8. data/lib/cloudformation-ruby-dsl/version.rb +1 -1
  9. metadata +34 -79
  10. data/vendor/AWSCloudFormation-1.0.12/README.TXT +0 -44
  11. data/vendor/AWSCloudFormation-1.0.12/RELEASENOTES.TXT +0 -6
  12. data/vendor/AWSCloudFormation-1.0.12/THIRDPARTYLICENSE.TXT +0 -824
  13. data/vendor/AWSCloudFormation-1.0.12/bin/cfn-cancel-update-stack +0 -9
  14. data/vendor/AWSCloudFormation-1.0.12/bin/cfn-cancel-update-stack.cmd +0 -19
  15. data/vendor/AWSCloudFormation-1.0.12/bin/cfn-cmd +0 -15
  16. data/vendor/AWSCloudFormation-1.0.12/bin/cfn-cmd.cmd +0 -42
  17. data/vendor/AWSCloudFormation-1.0.12/bin/cfn-create-stack +0 -7
  18. data/vendor/AWSCloudFormation-1.0.12/bin/cfn-create-stack.cmd +0 -19
  19. data/vendor/AWSCloudFormation-1.0.12/bin/cfn-delete-stack +0 -7
  20. data/vendor/AWSCloudFormation-1.0.12/bin/cfn-delete-stack.cmd +0 -19
  21. data/vendor/AWSCloudFormation-1.0.12/bin/cfn-describe-stack-events +0 -7
  22. data/vendor/AWSCloudFormation-1.0.12/bin/cfn-describe-stack-events.cmd +0 -19
  23. data/vendor/AWSCloudFormation-1.0.12/bin/cfn-describe-stack-resource +0 -7
  24. data/vendor/AWSCloudFormation-1.0.12/bin/cfn-describe-stack-resource.cmd +0 -19
  25. data/vendor/AWSCloudFormation-1.0.12/bin/cfn-describe-stack-resources +0 -7
  26. data/vendor/AWSCloudFormation-1.0.12/bin/cfn-describe-stack-resources.cmd +0 -19
  27. data/vendor/AWSCloudFormation-1.0.12/bin/cfn-describe-stacks +0 -7
  28. data/vendor/AWSCloudFormation-1.0.12/bin/cfn-describe-stacks.cmd +0 -19
  29. data/vendor/AWSCloudFormation-1.0.12/bin/cfn-get-template +0 -7
  30. data/vendor/AWSCloudFormation-1.0.12/bin/cfn-get-template.cmd +0 -19
  31. data/vendor/AWSCloudFormation-1.0.12/bin/cfn-list-stack-resources +0 -7
  32. data/vendor/AWSCloudFormation-1.0.12/bin/cfn-list-stack-resources.cmd +0 -19
  33. data/vendor/AWSCloudFormation-1.0.12/bin/cfn-list-stacks +0 -7
  34. data/vendor/AWSCloudFormation-1.0.12/bin/cfn-list-stacks.cmd +0 -19
  35. data/vendor/AWSCloudFormation-1.0.12/bin/cfn-update-stack +0 -7
  36. data/vendor/AWSCloudFormation-1.0.12/bin/cfn-update-stack.cmd +0 -19
  37. data/vendor/AWSCloudFormation-1.0.12/bin/cfn-validate-template +0 -7
  38. data/vendor/AWSCloudFormation-1.0.12/bin/cfn-validate-template.cmd +0 -19
  39. data/vendor/AWSCloudFormation-1.0.12/bin/cfn-version +0 -7
  40. data/vendor/AWSCloudFormation-1.0.12/bin/cfn-version.cmd +0 -21
  41. data/vendor/AWSCloudFormation-1.0.12/bin/service +0 -29
  42. data/vendor/AWSCloudFormation-1.0.12/bin/service.cmd +0 -74
  43. data/vendor/AWSCloudFormation-1.0.12/credential-file-path.template +0 -2
  44. data/vendor/AWSCloudFormation-1.0.12/lib/CliCommando-1.0.jar +0 -0
  45. data/vendor/AWSCloudFormation-1.0.12/lib/activation-1.1.jar +0 -0
  46. data/vendor/AWSCloudFormation-1.0.12/lib/commons-cli-1.1.jar +0 -0
  47. data/vendor/AWSCloudFormation-1.0.12/lib/commons-codec-1.3.jar +0 -0
  48. data/vendor/AWSCloudFormation-1.0.12/lib/commons-discovery-0.2.jar +0 -0
  49. data/vendor/AWSCloudFormation-1.0.12/lib/commons-httpclient-3.0.jar +0 -0
  50. data/vendor/AWSCloudFormation-1.0.12/lib/commons-logging-1.0.4.jar +0 -0
  51. data/vendor/AWSCloudFormation-1.0.12/lib/commons-logging-api-1.1.1.jar +0 -0
  52. data/vendor/AWSCloudFormation-1.0.12/lib/httpclient-4.2.jar +0 -0
  53. data/vendor/AWSCloudFormation-1.0.12/lib/jaxb-api-2.0.jar +0 -0
  54. data/vendor/AWSCloudFormation-1.0.12/lib/jaxb-impl-2.0.1.jar +0 -0
  55. data/vendor/AWSCloudFormation-1.0.12/lib/jaxws-api-2.0.jar +0 -0
  56. data/vendor/AWSCloudFormation-1.0.12/lib/jdom-1.0.jar +0 -0
  57. data/vendor/AWSCloudFormation-1.0.12/lib/log4j.jar +0 -0
  58. data/vendor/AWSCloudFormation-1.0.12/lib/serializer.jar +0 -0
  59. data/vendor/AWSCloudFormation-1.0.12/lib/service.jar +0 -0
  60. data/vendor/AWSCloudFormation-1.0.12/lib/stax-api-1.0.1.jar +0 -0
  61. data/vendor/AWSCloudFormation-1.0.12/lib/wsdl4j-1.6.1.jar +0 -0
  62. data/vendor/AWSCloudFormation-1.0.12/lib/wss4j-1.5.7.jar +0 -0
  63. data/vendor/AWSCloudFormation-1.0.12/lib/wstx-asl-3.2.0.jar +0 -0
  64. data/vendor/AWSCloudFormation-1.0.12/lib/xalan-j2-2.7.0.jar +0 -0
  65. data/vendor/AWSCloudFormation-1.0.12/lib/xfire-all-1.2.6.jar +0 -0
  66. data/vendor/AWSCloudFormation-1.0.12/lib/xfire-jsr181-api-1.0-M1.jar +0 -0
  67. data/vendor/AWSCloudFormation-1.0.12/lib/xmlsec-1.4.2.jar +0 -0
  68. data/vendor/AWSCloudFormation-1.0.12/license.txt +0 -96
  69. data/vendor/AWSCloudFormation-1.0.12/notice.txt +0 -40
@@ -1,29 +0,0 @@
1
- #!/usr/bin/env bash
2
- # This script "concentrates" all of our Java invocations into a single location
3
- # for maintainability.
4
-
5
- # Verify SERVICE_HOME
6
- if [ -z "${SERVICE_HOME}" ]; then
7
- echo 'This command is not intended to be run directly. Please see documentation on using service commands.'
8
- exit 1
9
- fi
10
-
11
- # Check our Java env
12
- if [ -n "${JAVA_HOME:+x}" ]; then
13
- JAVA_COMMAND=${JAVA_HOME}/bin/java
14
- else
15
- echo JAVA_HOME is not set
16
- exit 1
17
- fi
18
-
19
- LIBDIR=${SERVICE_HOME}/lib
20
- # If a classpath exists preserve it
21
- CP=$CLASSPATH
22
-
23
- # Check for cygwin bash so we use the correct path separator
24
-
25
- for jar in $(ls $LIBDIR/*.jar) ; do
26
- CP=${CP}:$jar
27
- done
28
-
29
- exec ${JAVA_COMMAND} ${SERVICE_JVM_ARGS} -classpath "${CP}" com.amazon.webservices.Cli "$@"
@@ -1,74 +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_JAVA_HOME=_%JAVA_HOME%
10
- set CHK_SERVICE_HOME=_%SERVICE_HOME%
11
- set CHK_CREDENTIAL_FILE=_%AWS_CREDENTIAL_FILE%
12
-
13
- if "%CHK_CREDENTIAL_FILE:"=%" == "_" goto CREDENTIAL_FILE_MISSING
14
- SET AWS_CREDENTIAL_FILE=%AWS_CREDENTIAL_FILE:"=%
15
- :CREDENTIAL_FILE_MISSING
16
-
17
- if "%CHK_SERVICE_HOME:"=%" == "_" goto SERVICE_HOME_MISSING
18
- if "%CHK_JAVA_HOME:"=%" == "_" goto JAVA_HOME_MISSING
19
-
20
- REM If a classpath exists preserve it
21
-
22
- SET SERVICE_HOME=%SERVICE_HOME:"=%
23
- SET LIB="%SERVICE_HOME%\lib"
24
-
25
- REM Brute force
26
- SETLOCAL ENABLEDELAYEDEXPANSION
27
-
28
- SET CP=%LIB%\service.jar
29
- for /F "usebackq" %%c in (`dir /b %LIB%`) do SET CP=!CP!;%LIB%\%%c
30
-
31
- REM Grab the class name
32
- SET CMD=%1
33
-
34
- REM SHIFT doesn't affect %* so we need this clunky hack
35
- SET ARGV=%2
36
- SHIFT
37
- SHIFT
38
- :ARGV_LOOP
39
- IF (%1) == () GOTO ARGV_DONE
40
- REM Get around strange quoting bug
41
- SET ARG=%1
42
-
43
- REM Escape the minus sign for negative numbers
44
- ECHO %ARG% > %TEMP%\argtest
45
- FINDSTR /B \-[0-9.] %TEMP%\argtest > NUL
46
- if %ERRORLEVEL%==0 (
47
- SET ARG=\%ARG%
48
- )
49
- DEL %TEMP%\argtest
50
-
51
-
52
- SET ARG=%ARG:"=%
53
- SET ARGV=%ARGV% "%ARG%"
54
- SHIFT
55
- GOTO ARGV_LOOP
56
- :ARGV_DONE
57
-
58
- REM Make sure JAVA_HOME has only a single sorrounding double quotes
59
- set JAVA_HOME="%JAVA_HOME:"=%"
60
-
61
- REM run
62
- %JAVA_HOME%\bin\java %SERVICE_JVM_ARGS% -classpath %CP% com.amazon.webservices.Cli %CMD% %ARGV%
63
- goto DONE
64
-
65
- :JAVA_HOME_MISSING
66
- echo JAVA_HOME is not set
67
- exit /b 1
68
-
69
- :SERVICE_HOME_MISSING
70
- echo "This command is not intended to be run directly. Please see documentation on using service commands."
71
- exit /b 1
72
-
73
- :DONE
74
- endlocal
@@ -1,2 +0,0 @@
1
- AWSAccessKeyId=<Write your AWS access ID>
2
- AWSSecretKey=<Write your AWS secret key>
@@ -1,96 +0,0 @@
1
- Amazon Software License
2
-
3
- This Amazon Software License ("License") governs your use, reproduction, and
4
- distribution of the accompanying software as specified below.
5
-
6
- 1. Definitions
7
-
8
- "Licensor" means any person or entity that distributes its Work.
9
-
10
- "Software" means the original work of authorship made available under this
11
- License.
12
-
13
- "Work" means the Software and any additions to or derivative works of the
14
- Software that are made available under this License.
15
-
16
- The terms "reproduce," "reproduction," "derivative works," and "distribution"
17
- have the meaning as provided under U.S. copyright law; provided, however, that
18
- for the purposes of this License, derivative works shall not include works that
19
- remain separable from, or merely link (or bind by name) to the interfaces of,
20
- the Work.
21
-
22
- Works, including the Software, are "made available" under this License by
23
- including in or with the Work either (a) a copyright notice referencing the
24
- applicability of this License to the Work, or (b) a copy of this License.
25
-
26
- 2. License Grants
27
-
28
- 2.1 Copyright Grant. Subject to the terms and conditions of this License, each
29
- Licensor grants to you a perpetual, worldwide, non-exclusive, royalty-free,
30
- copyright license to reproduce, prepare derivative works of, publicly display,
31
- publicly perform, sublicense and distribute its Work and any resulting
32
- derivative works in any form.
33
-
34
- 2.2 Patent Grant. Subject to the terms and conditions of this License, each
35
- Licensor grants to you a perpetual, worldwide, non-exclusive, royalty-free
36
- patent license to make, have made, use, sell, offer for sale, import, and
37
- otherwise transfer its Work, in whole or in part. The foregoing license applies
38
- only to the patent claims licensable by Licensor that would be infringed by
39
- Licensor's Work (or portion thereof) individually and excluding any
40
- combinations with any other materials or technology.
41
-
42
- 3. Limitations
43
-
44
- 3.1 Redistribution. You may reproduce or distribute the Work only if (a) you do
45
- so under this License, (b) you include a complete copy of this License with
46
- your distribution, and (c) you retain without modification any copyright,
47
- patent, trademark, or attribution notices that are present in the Work.
48
-
49
- 3.2 Derivative Works. You may specify that additional or different terms apply
50
- to the use, reproduction, and distribution of your derivative works of the Work
51
- ("Your Terms") only if (a) Your Terms provide that the use limitation in
52
- Section 3.3 applies to your derivative works, and (b) you identify the specific
53
- derivative works that are subject to Your Terms. Notwithstanding Your Terms,
54
- this License (including the redistribution requirements in Section 3.1) will
55
- continue to apply to the Work itself.
56
-
57
- 3.3 Use Limitation. The Work and any derivative works thereof only may be used
58
- or intended for use with the web services, computing platforms or applications
59
- provided by Amazon.com, Inc. or its affiliates, including Amazon Web Services
60
- LLC.
61
-
62
- 3.4 Patent Claims. If you bring or threaten to bring a patent claim against any
63
- Licensor (including any claim, cross-claim or counterclaim in a lawsuit) to
64
- enforce any patents that you allege are infringed by any Work, then your rights
65
- under this License from such Licensor (including the grants in Sections 2.1 and
66
- 2.2) will terminate immediately.
67
-
68
- 3.5 Trademarks. This License does not grant any rights to use any Licensor's or
69
- its affiliates' names, logos, or trademarks, except as necessary to reproduce
70
- the notices described in this License.
71
-
72
- 3.6 Termination. If you violate any term of this License, then your rights
73
- under this License (including the grants in Sections 2.1 and 2.2) will
74
- terminate immediately.
75
-
76
- 4. Disclaimer of Warranty. THE WORK IS PROVIDED "AS IS" WITHOUT WARRANTIES OR
77
- CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WARRANTIES OR
78
- CONDITIONS OF M ERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE OR
79
- NON-INFRINGEMENT. YOU BEAR THE RISK OF UNDERTAKING ANY ACTIVITIES UNDER THIS
80
- LICENSE. SOME STATES' CONSUMER LAWS DO NOT ALLOW EXCLUSION OF AN IMPLIED
81
- WARRANTY, SO THIS DISCLAIMER MAY NOT APPLY TO YOU.
82
-
83
- 5. Limitation of Liability. EXCEPT AS PROHIBITED BY APPLICABLE LAW, IN NO EVENT
84
- AND UNDER NO LEGAL THEORY, WHETHER IN TORT (INCLUDING NEGLIGENCE), CONTRACT, OR
85
- OTHERWISE SHALL ANY LICENSOR BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
86
- DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT OF
87
- OR RELATED TO THIS LICENSE, THE USE OR INABILITY TO USE THE WORK (INCLUDING BUT
88
- NOT LIMITED TO LOSS OF GOODWILL, BUSINESS INTERRUPTION, LOST PROFITS OR DATA,
89
- COMPUTER FAILURE OR MALFUNCTION, OR ANY OTHER COMM ERCIAL DAMAGES OR LOSSES),
90
- EVEN IF THE LICENSOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
91
-
92
- Note: Other license terms may apply to certain, identified software files
93
- contained within or distributed with the accompanying software if such terms
94
- are included in the notice folder accompanying the file. Such other license
95
- terms will then apply in lieu of the terms of the Amazon Software License
96
- above.
@@ -1,40 +0,0 @@
1
- Copyright 2006-2009 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
-
3
- Licensed under the Amazon Software License (the "License"). You may not use
4
- this file except in compliance with the License. A copy of the
5
- License is located at
6
-
7
- http://aws.amazon.com/asl
8
-
9
- or in the "license" file accompanying this file. This file is
10
- distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
11
- KIND, either express or implied. See the License for the specific language
12
- governing permissions and limitations under the License.
13
-
14
- **********************
15
- THIRD PARTY COMPONENTS
16
- **********************
17
- This software includes third party software subject to the following
18
- copyrights:
19
-
20
- -XML handling functions from the JAXB project - Copyright 2005 Sun
21
- Microsystems, Inc.
22
- -XSLT support from Xalan - Copyright (c) 1999-2002, Lotus Development
23
- Corporation, Copyright (c) 2001-2002, Sun Microsystems., Copyright (c)
24
- 2003, IBM Corporation.
25
- -Utility functions from Apache Commons - Copyright 2001-2008 Apache Software
26
- Foundation
27
- -Streaming API for XML from Codehaus - Copyright 2003-2006 The Codehaus
28
- -XML processing from Codehaus - Copyright 2006 Codehaus Foundation
29
- -XML processing from Apache - Copyright (c) 2000 The Apache Software Foundation
30
- -XFire SOAP framework from Codehaus - Copyright (c) 2005 Envoi Solutions LLC
31
- -WS-Security verification for SOAP messages from Apache Software
32
- Foundation - Copyright 2004-2009 The Apache Software Foundation
33
- -Security standards for XML from Apache Software Foundation - Copyright
34
- 2002-2006 The Apache Software Foundation
35
- -Cryptographic functions from Bouncy Castle - Copyright (c) 2000 - 2008
36
- The Legion Of The Bouncy Castle
37
-
38
- The licenses for these third party components are included in
39
- THIRDPARTYLICENSE.TXT
40
-