https://github.com/mizzy/spinnaker-playground
https://github.com/mizzy/spinnaker-playground
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/mizzy/spinnaker-playground
- Owner: mizzy
- Created: 2018-05-22T11:05:49.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-10-24T05:24:03.000Z (over 7 years ago)
- Last Synced: 2025-01-28T04:47:54.795Z (over 1 year ago)
- Language: HCL
- Size: 19.5 KB
- Stars: 6
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Spinnaker Playground
## Setup spinnaker
Edit `spinnaker.tf`
```hcl
module "spinnaker" {
source = "./module/spinnaker"
key_name = "your_ssh_key_name"
managing_account_id = "xxxxxxxxxxxx"
managed_account_id = "xxxxxxxxxxxx"
spinnaker_user_public_key = "ssh-rsa ..."
/* These are defaults. You can overrive them.
instance_type = "c5.large"
security_group = "default"
volume_size = "100"
*/
}
output "public_dns" {
value = "${module.spinnaker.public_dns}"
}
...
```
Run terraform to create ec2 instance.
```
$ terraform init
$ terraform apply
```
Run setup.sh
```
$ ./setup.sh
```
Acccess to `http://ec2-xx-xx-xx-xx.ap-northeast-1.compute.amazonaws.com:9000` .
## Remove spinnaker setup
```
$ terraform destroy
```