diff --git a/main.tf b/main.tf new file mode 100644 index 0000000..878ec09 --- /dev/null +++ b/main.tf @@ -0,0 +1,9 @@ +terraform { + required_providers { + brightbox = { + source = "brightbox/brightbox" + version = "~> 3.0" + } + } + required_version = ">= 1.0" +} diff --git a/outputs.tf b/outputs.tf index cec8bb0..5c418a6 100644 --- a/outputs.tf +++ b/outputs.tf @@ -8,4 +8,5 @@ output "db_ip_address" { output "db_admin_account_password" { value = brightbox_database_server.db.admin_password + sensitive = true } diff --git a/provider.tf b/provider.tf index c8f2802..9d50fee 100644 --- a/provider.tf +++ b/provider.tf @@ -4,8 +4,6 @@ // BRIGHTBOX_PASSWORD provider "brightbox" { - version = "~> 1.0" - username = var.username password = var.password account = var.account