Skip to content
This repository has been archived by the owner on Oct 21, 2023. It is now read-only.

Commit

Permalink
saving state to publish first alpha release to GH Releases
Browse files Browse the repository at this point in the history
  • Loading branch information
scrthq committed Jun 18, 2020
1 parent 4d33408 commit 4d6f29e
Show file tree
Hide file tree
Showing 123 changed files with 1,239 additions and 848 deletions.
148 changes: 148 additions & 0 deletions SampleStack.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,148 @@
[VSTemplate]@{
Parameters = @(
[VSParameter]@{
LogicalId = 'MinSize'
Type = 'Number'
}
[VSParameter]@{
LogicalId = 'MaxSize'
Type = 'Number'
}
[VSParameter]@{
LogicalId = 'DesiredSize'
Type = 'Number'
}
[VSParameter]@{
LogicalId = 'ImageId'
Type = 'AWS::EC2::Image::Id'
}
[VSParameter]@{
LogicalId = 'InstanceType'
Type = 'String'
}
[VSParameter]@{
LogicalId = 'KeyName'
Type = 'String'
}
[VSParameter]@{
LogicalId = 'SSLCertificateArn'
Type = 'String'
}
[VSParameter]@{
LogicalId = 'PrivateSubnets'
Type = 'List<AWS::EC2::Subnet::Id>'
}
[VSParameter]@{
LogicalId = 'PublicSubnets'
Type = 'List<AWS::EC2::Subnet::Id>'
}
[VSParameter]@{
LogicalId = 'ASGSecurityGroups'
Type = 'List<AWS::EC2::SecurityGroup::Id>'
}
[VSParameter]@{
LogicalId = 'BastionSecurityGroups'
Type = 'List<AWS::EC2::SecurityGroup::Id>'
}
[VSParameter]@{
LogicalId = 'LoadBalancerSecurityGroups'
Type = 'List<AWS::EC2::SecurityGroup::Id>'
}
)
Conditions = @(
[VSCondition]@{
LogicalId = 'HasSSL'
Condition = [ConNot]::new([ConEquals]::new(([FnRef]'SSLCertificateArn','')))
}
[VSCondition]@{
LogicalId = 'HasSSHKey'
Condition = [ConNot]::new([ConEquals]::new([FnRef]'KeyName',''))
}
)
Resources = @(
[ElasticLoadBalancingLoadBalancer]@{
LogicalId = 'LoadBalancer'
Subnets = [FnRef]'PublicSubnets'
SecurityGroups = [FnRef]'LoadBalancerSecurityGroups'
Listeners = @(
[ElasticLoadBalancingLoadBalancerListeners]@{
LoadBalancerPort = '80'
InstancePort = '80'
Protocol = 'HTTP'
}
[ConIf]::new(
'HasSSL',
[ElasticLoadBalancingLoadBalancerListeners]@{
LoadBalancerPort = '443'
InstancePort = '443'
Protocol = 'HTTPS'
SSLCertificateId = [FnRef]'SSLCertificateArn'
},
[FnRef]::NoValue
)
)
HealthCheck = [ElasticLoadBalancingLoadBalancerHealthCheck]@{
Target = 'HTTP:80/'
HealthyThreshold = '3'
UnhealthyThreshold = '5'
Interval = '30'
Timeout = '5'
}
}
[AutoScalingLaunchConfiguration]@{
LogicalId = 'WebServerLaunchConfig'
KeyName = [ConIf]::new(
'HasSSHKey',
[FnRef]'KeyName',
[FnRef]::NoValue
)
ImageId = [FnRef]'ImageId'
UserData = './Tests/Assets/UserData.sh'
SecurityGroups = [FnRef]'ASGSecurityGroups'
InstanceType = [FnRef]'InstanceType'
}
[AutoScalingAutoScalingGroup]@{
LogicalId = 'WebServerGroup'
UpdatePolicy = [UpdatePolicy]@{
AutoScalingRollingUpdate = [AutoScalingRollingUpdate]@{
MinInstancesInService = 1
PauseTime = 'PT1M'
}
}
LaunchConfigurationName = [FnRef]'WebServerLaunchConfig'
MinSize = [FnRef]'MinSize'
MaxSize = [FnRef]'MaxSize'
DesiredCapacity = [FnRef]'DesiredSize'
LoadBalancerNames = @([FnRef]'LoadBalancer')
VPCZoneIdentifier = [FnRef]'PrivateSubnets'
}
[EC2Instance]@{
LogicalId = 'Bastion'
Condition = 'HasSSHKey'
ImageId = [FnRef]'ImageId'
InstanceType = 't2.micro'
NetworkInterfaces = @(
[EC2InstanceNetworkInterface]@{
AssociatePublicIpAddress = $true
DeviceIndex = '0'
GroupSet = [FnRef]'BastionSecurityGroups'
SubnetId = [FnSelect]::new(0, [FnRef]'PublicSubnets')
}
)
}
)
Outputs = @(
[VSOutput]@{
LogicalId = 'ELB'
Description = 'LoadBalancer DNS Name'
Value = [FnGetAtt]::new('LoadBalancer','DNSName')
Export = [Export]'elb-dns-name'
}
[VSOutput]@{
LogicalId = 'Bastion'
Description = 'Bastion instance IP'
Value = [FnGetAtt]::new('Bastion','PublicIp')
Condition = [ConRef]'HasSSHKey'
}
)
}
16 changes: 9 additions & 7 deletions ServiceModules/VaporShell.ACMPCA/VaporShell.ACMPCA.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,16 @@
AliasesToExport = '*'
FileList = @()
PrivateData = @{
PSData = @{
Tags = 'AWS', 'CloudFormation', 'CFN', 'DevOps', 'Automation', 'JSON', 'YAML', 'IaC', 'InfrastructureAsCode', 'PSEdition_Core', 'PSEdition_Desktop', 'Windows', 'Mac', 'Linux'
LicenseUri = 'https://github.com/SCRT-HQ/VaporShell/blob/master/LICENSE'
ProjectUri = 'https://github.com/SCRT-HQ/VaporShell'
IconUri = 'https://spotinst.com/app/themes/spotinst-theme/dist/images/features/elastigroup/intro/icons/cloudformation.svg'
} # End of PSData hashtable
} # End of PrivateData hashtable
PSData = @{
LicenseUri = 'https://github.com/SCRT-HQ/VaporShell/blob/master/LICENSE'
Prelease = 'alpha'
IconUri = 'https://spotinst.com/app/themes/spotinst-theme/dist/images/features/elastigroup/intro/icons/cloudformation.svg'
ProjectUri = 'https://github.com/SCRT-HQ/VaporShell'
Tags = @('AWS','CloudFormation','CFN','DevOps','Automation','JSON','YAML','IaC','InfrastructureAsCode','PSEdition_Core','PSEdition_Desktop','Windows','Mac','Linux')
}
} # End of PrivateData hashtable
}




Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,16 @@
AliasesToExport = '*'
FileList = @()
PrivateData = @{
PSData = @{
Tags = 'AWS', 'CloudFormation', 'CFN', 'DevOps', 'Automation', 'JSON', 'YAML', 'IaC', 'InfrastructureAsCode', 'PSEdition_Core', 'PSEdition_Desktop', 'Windows', 'Mac', 'Linux'
LicenseUri = 'https://github.com/SCRT-HQ/VaporShell/blob/master/LICENSE'
ProjectUri = 'https://github.com/SCRT-HQ/VaporShell'
IconUri = 'https://spotinst.com/app/themes/spotinst-theme/dist/images/features/elastigroup/intro/icons/cloudformation.svg'
} # End of PSData hashtable
} # End of PrivateData hashtable
PSData = @{
LicenseUri = 'https://github.com/SCRT-HQ/VaporShell/blob/master/LICENSE'
Prelease = 'alpha'
IconUri = 'https://spotinst.com/app/themes/spotinst-theme/dist/images/features/elastigroup/intro/icons/cloudformation.svg'
ProjectUri = 'https://github.com/SCRT-HQ/VaporShell'
Tags = @('AWS','CloudFormation','CFN','DevOps','Automation','JSON','YAML','IaC','InfrastructureAsCode','PSEdition_Core','PSEdition_Desktop','Windows','Mac','Linux')
}
} # End of PrivateData hashtable
}




16 changes: 9 additions & 7 deletions ServiceModules/VaporShell.Alexa/VaporShell.Alexa.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,16 @@
AliasesToExport = '*'
FileList = @()
PrivateData = @{
PSData = @{
Tags = 'AWS', 'CloudFormation', 'CFN', 'DevOps', 'Automation', 'JSON', 'YAML', 'IaC', 'InfrastructureAsCode', 'PSEdition_Core', 'PSEdition_Desktop', 'Windows', 'Mac', 'Linux'
LicenseUri = 'https://github.com/SCRT-HQ/VaporShell/blob/master/LICENSE'
ProjectUri = 'https://github.com/SCRT-HQ/VaporShell'
IconUri = 'https://spotinst.com/app/themes/spotinst-theme/dist/images/features/elastigroup/intro/icons/cloudformation.svg'
} # End of PSData hashtable
} # End of PrivateData hashtable
PSData = @{
LicenseUri = 'https://github.com/SCRT-HQ/VaporShell/blob/master/LICENSE'
Prelease = 'alpha'
IconUri = 'https://spotinst.com/app/themes/spotinst-theme/dist/images/features/elastigroup/intro/icons/cloudformation.svg'
ProjectUri = 'https://github.com/SCRT-HQ/VaporShell'
Tags = @('AWS','CloudFormation','CFN','DevOps','Automation','JSON','YAML','IaC','InfrastructureAsCode','PSEdition_Core','PSEdition_Desktop','Windows','Mac','Linux')
}
} # End of PrivateData hashtable
}




16 changes: 9 additions & 7 deletions ServiceModules/VaporShell.AmazonMQ/VaporShell.AmazonMQ.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,16 @@
AliasesToExport = '*'
FileList = @()
PrivateData = @{
PSData = @{
Tags = 'AWS', 'CloudFormation', 'CFN', 'DevOps', 'Automation', 'JSON', 'YAML', 'IaC', 'InfrastructureAsCode', 'PSEdition_Core', 'PSEdition_Desktop', 'Windows', 'Mac', 'Linux'
LicenseUri = 'https://github.com/SCRT-HQ/VaporShell/blob/master/LICENSE'
ProjectUri = 'https://github.com/SCRT-HQ/VaporShell'
IconUri = 'https://spotinst.com/app/themes/spotinst-theme/dist/images/features/elastigroup/intro/icons/cloudformation.svg'
} # End of PSData hashtable
} # End of PrivateData hashtable
PSData = @{
LicenseUri = 'https://github.com/SCRT-HQ/VaporShell/blob/master/LICENSE'
Prelease = 'alpha'
IconUri = 'https://spotinst.com/app/themes/spotinst-theme/dist/images/features/elastigroup/intro/icons/cloudformation.svg'
ProjectUri = 'https://github.com/SCRT-HQ/VaporShell'
Tags = @('AWS','CloudFormation','CFN','DevOps','Automation','JSON','YAML','IaC','InfrastructureAsCode','PSEdition_Core','PSEdition_Desktop','Windows','Mac','Linux')
}
} # End of PrivateData hashtable
}




16 changes: 9 additions & 7 deletions ServiceModules/VaporShell.Amplify/VaporShell.Amplify.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,16 @@
AliasesToExport = '*'
FileList = @()
PrivateData = @{
PSData = @{
Tags = 'AWS', 'CloudFormation', 'CFN', 'DevOps', 'Automation', 'JSON', 'YAML', 'IaC', 'InfrastructureAsCode', 'PSEdition_Core', 'PSEdition_Desktop', 'Windows', 'Mac', 'Linux'
LicenseUri = 'https://github.com/SCRT-HQ/VaporShell/blob/master/LICENSE'
ProjectUri = 'https://github.com/SCRT-HQ/VaporShell'
IconUri = 'https://spotinst.com/app/themes/spotinst-theme/dist/images/features/elastigroup/intro/icons/cloudformation.svg'
} # End of PSData hashtable
} # End of PrivateData hashtable
PSData = @{
LicenseUri = 'https://github.com/SCRT-HQ/VaporShell/blob/master/LICENSE'
Prelease = 'alpha'
IconUri = 'https://spotinst.com/app/themes/spotinst-theme/dist/images/features/elastigroup/intro/icons/cloudformation.svg'
ProjectUri = 'https://github.com/SCRT-HQ/VaporShell'
Tags = @('AWS','CloudFormation','CFN','DevOps','Automation','JSON','YAML','IaC','InfrastructureAsCode','PSEdition_Core','PSEdition_Desktop','Windows','Mac','Linux')
}
} # End of PrivateData hashtable
}




16 changes: 9 additions & 7 deletions ServiceModules/VaporShell.ApiGateway/VaporShell.ApiGateway.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,16 @@
AliasesToExport = '*'
FileList = @()
PrivateData = @{
PSData = @{
Tags = 'AWS', 'CloudFormation', 'CFN', 'DevOps', 'Automation', 'JSON', 'YAML', 'IaC', 'InfrastructureAsCode', 'PSEdition_Core', 'PSEdition_Desktop', 'Windows', 'Mac', 'Linux'
LicenseUri = 'https://github.com/SCRT-HQ/VaporShell/blob/master/LICENSE'
ProjectUri = 'https://github.com/SCRT-HQ/VaporShell'
IconUri = 'https://spotinst.com/app/themes/spotinst-theme/dist/images/features/elastigroup/intro/icons/cloudformation.svg'
} # End of PSData hashtable
} # End of PrivateData hashtable
PSData = @{
LicenseUri = 'https://github.com/SCRT-HQ/VaporShell/blob/master/LICENSE'
Prelease = 'alpha'
IconUri = 'https://spotinst.com/app/themes/spotinst-theme/dist/images/features/elastigroup/intro/icons/cloudformation.svg'
ProjectUri = 'https://github.com/SCRT-HQ/VaporShell'
Tags = @('AWS','CloudFormation','CFN','DevOps','Automation','JSON','YAML','IaC','InfrastructureAsCode','PSEdition_Core','PSEdition_Desktop','Windows','Mac','Linux')
}
} # End of PrivateData hashtable
}




Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,16 @@
AliasesToExport = '*'
FileList = @()
PrivateData = @{
PSData = @{
Tags = 'AWS', 'CloudFormation', 'CFN', 'DevOps', 'Automation', 'JSON', 'YAML', 'IaC', 'InfrastructureAsCode', 'PSEdition_Core', 'PSEdition_Desktop', 'Windows', 'Mac', 'Linux'
LicenseUri = 'https://github.com/SCRT-HQ/VaporShell/blob/master/LICENSE'
ProjectUri = 'https://github.com/SCRT-HQ/VaporShell'
IconUri = 'https://spotinst.com/app/themes/spotinst-theme/dist/images/features/elastigroup/intro/icons/cloudformation.svg'
} # End of PSData hashtable
} # End of PrivateData hashtable
PSData = @{
LicenseUri = 'https://github.com/SCRT-HQ/VaporShell/blob/master/LICENSE'
Prelease = 'alpha'
IconUri = 'https://spotinst.com/app/themes/spotinst-theme/dist/images/features/elastigroup/intro/icons/cloudformation.svg'
ProjectUri = 'https://github.com/SCRT-HQ/VaporShell'
Tags = @('AWS','CloudFormation','CFN','DevOps','Automation','JSON','YAML','IaC','InfrastructureAsCode','PSEdition_Core','PSEdition_Desktop','Windows','Mac','Linux')
}
} # End of PrivateData hashtable
}




16 changes: 9 additions & 7 deletions ServiceModules/VaporShell.AppConfig/VaporShell.AppConfig.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,16 @@
AliasesToExport = '*'
FileList = @()
PrivateData = @{
PSData = @{
Tags = 'AWS', 'CloudFormation', 'CFN', 'DevOps', 'Automation', 'JSON', 'YAML', 'IaC', 'InfrastructureAsCode', 'PSEdition_Core', 'PSEdition_Desktop', 'Windows', 'Mac', 'Linux'
LicenseUri = 'https://github.com/SCRT-HQ/VaporShell/blob/master/LICENSE'
ProjectUri = 'https://github.com/SCRT-HQ/VaporShell'
IconUri = 'https://spotinst.com/app/themes/spotinst-theme/dist/images/features/elastigroup/intro/icons/cloudformation.svg'
} # End of PSData hashtable
} # End of PrivateData hashtable
PSData = @{
LicenseUri = 'https://github.com/SCRT-HQ/VaporShell/blob/master/LICENSE'
Prelease = 'alpha'
IconUri = 'https://spotinst.com/app/themes/spotinst-theme/dist/images/features/elastigroup/intro/icons/cloudformation.svg'
ProjectUri = 'https://github.com/SCRT-HQ/VaporShell'
Tags = @('AWS','CloudFormation','CFN','DevOps','Automation','JSON','YAML','IaC','InfrastructureAsCode','PSEdition_Core','PSEdition_Desktop','Windows','Mac','Linux')
}
} # End of PrivateData hashtable
}




16 changes: 9 additions & 7 deletions ServiceModules/VaporShell.AppMesh/VaporShell.AppMesh.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,16 @@
AliasesToExport = '*'
FileList = @()
PrivateData = @{
PSData = @{
Tags = 'AWS', 'CloudFormation', 'CFN', 'DevOps', 'Automation', 'JSON', 'YAML', 'IaC', 'InfrastructureAsCode', 'PSEdition_Core', 'PSEdition_Desktop', 'Windows', 'Mac', 'Linux'
LicenseUri = 'https://github.com/SCRT-HQ/VaporShell/blob/master/LICENSE'
ProjectUri = 'https://github.com/SCRT-HQ/VaporShell'
IconUri = 'https://spotinst.com/app/themes/spotinst-theme/dist/images/features/elastigroup/intro/icons/cloudformation.svg'
} # End of PSData hashtable
} # End of PrivateData hashtable
PSData = @{
LicenseUri = 'https://github.com/SCRT-HQ/VaporShell/blob/master/LICENSE'
Prelease = 'alpha'
IconUri = 'https://spotinst.com/app/themes/spotinst-theme/dist/images/features/elastigroup/intro/icons/cloudformation.svg'
ProjectUri = 'https://github.com/SCRT-HQ/VaporShell'
Tags = @('AWS','CloudFormation','CFN','DevOps','Automation','JSON','YAML','IaC','InfrastructureAsCode','PSEdition_Core','PSEdition_Desktop','Windows','Mac','Linux')
}
} # End of PrivateData hashtable
}




16 changes: 9 additions & 7 deletions ServiceModules/VaporShell.AppStream/VaporShell.AppStream.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,16 @@
AliasesToExport = '*'
FileList = @()
PrivateData = @{
PSData = @{
Tags = 'AWS', 'CloudFormation', 'CFN', 'DevOps', 'Automation', 'JSON', 'YAML', 'IaC', 'InfrastructureAsCode', 'PSEdition_Core', 'PSEdition_Desktop', 'Windows', 'Mac', 'Linux'
LicenseUri = 'https://github.com/SCRT-HQ/VaporShell/blob/master/LICENSE'
ProjectUri = 'https://github.com/SCRT-HQ/VaporShell'
IconUri = 'https://spotinst.com/app/themes/spotinst-theme/dist/images/features/elastigroup/intro/icons/cloudformation.svg'
} # End of PSData hashtable
} # End of PrivateData hashtable
PSData = @{
LicenseUri = 'https://github.com/SCRT-HQ/VaporShell/blob/master/LICENSE'
Prelease = 'alpha'
IconUri = 'https://spotinst.com/app/themes/spotinst-theme/dist/images/features/elastigroup/intro/icons/cloudformation.svg'
ProjectUri = 'https://github.com/SCRT-HQ/VaporShell'
Tags = @('AWS','CloudFormation','CFN','DevOps','Automation','JSON','YAML','IaC','InfrastructureAsCode','PSEdition_Core','PSEdition_Desktop','Windows','Mac','Linux')
}
} # End of PrivateData hashtable
}




Loading

0 comments on commit 4d6f29e

Please sign in to comment.