Closed hannamurphy closed 1 year ago
Hi @hannamurphy, if you did not specify configuration in the terraform-input.tfvars file that you provided as input to viya4-iac-aws to install a cloud based instance of Postgres (aka external instance), you would typically allow viya4-deployment to create an internal Postgres instance within the namespace of the cluster you are deploying Viya to. In other words, for your Viya deployment to be successful, you will need either an external, cloud based Postgres instance or an internal Postgres instance deployed alongside Viya.
To get the internal Postgres instance deployed, at a minimum, your ansible-vars.yaml file will need to contain a block like this:
## Postgres
V4_CFG_POSTGRES_SERVERS:
default:
internal: true
Also, you need to preserve the indentation indicated above as you are defining the map structure documented here: https://github.com/sassoftware/viya4-deployment/blob/main/docs/CONFIG-VARS.md#postgresql I'm anticipating that you only need the single "default" postgres server instance unless the set of Viya products you are installing specifically require a second postgres instance.
Thanks I will add that & rerun. I used the IAC for AWS & didn't realize I needed to add anything more to the ansible-vars-iac.yaml file (there's nothing under the Postgres section).
Hi @hannamurphy, would like to close out this issue as resolved, could you confirm?
That’s fine
Running the following code:
& receiving the following error:
All code is pulled from the most recent versions of viya4-deployment and viya4-iac-aws.