...
Code Block |
---|
module "cloud" { source = "./modules/aws" ... |
Setup inputs for terrafrom.tfvars
Info |
---|
Inputs can be supplied using any of the methods supported by Terraform. However, we recommend using the .tfvars method. The following examples will use that format. |
...
. |
...
Provider-specific
The provider you have selected will require certain inputs unless you are running locally in which case you do not need any of these inputs.
...
Code Block |
---|
aws_access_key = "EXAMPLEEXAMPLEEXAMPLE" aws_secret_key = "EXAMPLEEXAMPLEEXAMPLEEXAMPLEEXAMPLEEXA+MPLE" |
optionally you can select the region. Default is us-east-1.
Code Block |
---|
aws_region = "us-east-1" |
SSH keys
SSH Keys can be provided or can be generated for you. We recommend you provide them so you can keep track of your own key. Here’s what it would look like to input a public and private key (both are required):
...
Code Block |
---|
db_password = "Password1_"
db_fd_admin_password = "FDadminPassword1_"
|
Example for Oracle:
Code Block |
---|
db_type = "oracle"
db_password = "Password1_"
db_fd_admin_password = "FDadminPassword1_"
db_port = 1521
|
Instance Options
fd_version the version of FlexDeploy. Usually, the latest is recommended. This is required.
...
Code Block |
---|
fd_version = "5.6.0.1"
fd_install_directory = "/u02/flexdeploy"
fd_repository_directory = "/u03/flexdeploy/repository"
db_install_directory = "/u04/database"
db_data_directory = "/u05/databasedata"
install_temp_directory = "/tmp/fdinstall"
existing_instance_hostname = "www.example.com"
existing_database_hostname = "database.example.com"
|
Putting it together
Here are a few examples of all of this put together in terraform.tfvars
...
Launch FlexDeploy in your browser with the URL
http://hostname:8000/flexdeploy
You will need to complete Initial Registration process, where you will create admin user for login.
Go to Administration - Plugins on FlexDeploy. Verify that Plugins are loaded.
...