-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from theonestack/cfhighlander_syntax
Cfhighlander syntax, readme, travis build
- Loading branch information
Showing
4 changed files
with
59 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
language: ruby | ||
rvm: | ||
- 2.3 | ||
script: | ||
- gem install cfhighlander --prerelease | ||
- if [ "${TRAVIS_PULL_REQUEST}" != "false" ]; then cfhighlander cfcompile ; else cfhighlander cfcompile --validate; fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
![build-status](https://travis-ci.com/theonestack/hl-component-bastion.svg?branch=master) | ||
|
||
### Cfhighlander bastion component | ||
|
||
```bash | ||
|
||
# install highlander gem | ||
$ gem install cfhighlander | ||
|
||
# build and validate standalone component | ||
$ cfhighlander cfcompile --validate bastion | ||
|
||
``` | ||
|
||
### Parameters | ||
|
||
TBD | ||
|
||
### Configuration options | ||
|
||
TBD | ||
|
||
### Outputs | ||
|
||
TBD |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
CfhighlanderTemplate do | ||
DependsOn '[email protected]' | ||
Parameters do | ||
ComponentParam 'EnvironmentName', 'dev', isGlobal: true | ||
ComponentParam 'EnvironmentType', 'development', isGlobal: true | ||
ComponentParam 'Ami', type: 'AWS::EC2::Image::Id' | ||
MappingParam('InstanceType') do | ||
map 'EnvironmentType' | ||
attribute 'BastionInstanceType' | ||
end | ||
MappingParam('KeyName') do | ||
map 'AccountId' | ||
attribute 'KeyName' | ||
end | ||
MappingParam('DnsDomain') do | ||
map 'AccountId' | ||
attribute 'DnsDomain' | ||
end | ||
|
||
maximum_availability_zones.times do |az| | ||
ComponentParam "SubnetPublic#{az}" | ||
end | ||
|
||
ComponentParam 'VPCId', type: 'AWS::EC2::VPC::Id' | ||
ComponentParam 'SecurityGroupDev', type: 'AWS::EC2::SecurityGroup::Id' | ||
ComponentParam 'SecurityGroupOps', type: 'AWS::EC2::SecurityGroup::Id' | ||
end | ||
end |
This file was deleted.
Oops, something went wrong.