Skip to content

Commit

Permalink
v0.5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
zorancco authored Apr 13, 2017
1 parent b09e2e0 commit aed90aa
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 8 deletions.
13 changes: 10 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,15 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

## [Unreleased]


## [0.5.1] - 2017-04-13
### Added
- Add variable map for the all passthrough gateway lambda function
- Add password output to the RDS TF setup

## [0.5.0] - 2017-04-07
### Changed
- Added the template for mysql rds setup
### Added
- Add the template for mysql rds setup

## [0.4.4] - 2017-04-04
### Changed
Expand Down Expand Up @@ -99,7 +105,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
### Added
- Initial commit

[Unreleased]: https://github.com/albumprinter/eops_tf_modules/compare/v0.5.0..HEAD
[Unreleased]: https://github.com/albumprinter/eops_tf_modules/compare/v0.5.1..HEAD
[0.5.1]: https://github.com/albumprinter/eops_tf_modules/compare/v0.5.0...v0.5.1
[0.5.0]: https://github.com/albumprinter/eops_tf_modules/compare/v0.4.4...v0.5.0
[0.4.3]: https://github.com/albumprinter/eops_tf_modules/compare/v0.4.3...v0.4.4
[0.4.3]: https://github.com/albumprinter/eops_tf_modules/compare/v0.4.2...v0.4.3
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ resource "aws_lambda_function" "app" {
subnet_ids = ["${split( ",", var.private == true ? join(",", module.aws_core_data.private_subnets) : join(",", concat(module.aws_core_data.private_subnets,module.aws_core_data.public_subnets)))}"]
security_group_ids = ["${aws_security_group.sg_for_app.id}"]
}
environment {
variables = "${var.variables}"
}
count = "${var.enabled}"
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ variable "runtime" {
variable "handler" {}
variable "environment" {}
variable "variables" {
default = ""
type = "map"
default = {}
}

variable "memory_size" {
Expand Down
12 changes: 8 additions & 4 deletions apps/rds_mysql/outputs.tf
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
output "db_endpoint" {
value = "${aws_db_instance.database.endpoint}"
}

output "db_id" {
value = "${aws_db_instance.database.id}"
}
Expand All @@ -10,6 +6,14 @@ output "security_group_id" {
value = "${aws_security_group.database.id}"
}

output "db_endpoint" {
value = "${aws_db_instance.database.endpoint}"
}

output "db_admin_username" {
value = "${aws_db_instance.database.username}"
}

output "db_admin_password" {
value = "${aws_db_instance.database.password}"
}

0 comments on commit aed90aa

Please sign in to comment.