Details
-
Type:
Story
-
Status: Won't Fix
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Story Points:1
-
Epic Link:
-
Team:SQuaRE
Description
Joshua Hoblitt here is my attempt in changing terraform configuration to allow external connections to SQuaSH DB RDS instance. It didn't work and I couldn't figure out what is missing.
For testing the squash-api in the kubernetes deployment I can run mysql on another container and restore a copy of the current DB. It should be enough for now.
If we are going to deploy the SQuaSH DB on kubernetes this example seems to cover what we need:
https://kubernetes.io/docs/tutorials/stateful-application/mysql-wordpress-persistent-volume/
So, I have changed:
index 1a75c6f..21116a8 100644
}
}
+
+
+ ingress {
+ from_port = 3306
+ to_port = 3306
+ }
+
+ egress {
+ from_port = 3306
+ to_port = 3306
+ }
+
+ tags {
+ }
+}
and
index 624b6d3..f4709c5 100644
backup_retention_period = 30
}
tags {
tags {
followed by ./bin/terraform apply. But couldn't get external connection working.
Will proceed with plan B then.