Skip to main content
Version: Next

SmoothGlue Nexus IaC

Overview

This project contains the IaC to deploy Nexus on a SmoothGlue k8s cluster.

Requirements

NameVersion
terraform>= 1.0
aws<= 5.22.0
local~> 2.4.0
postgresql~> 1.21.0
random~> 3.6.0
time~> 0.9.0

Providers

NameVersion
aws5.22.0
local2.4.1
postgresql1.21.0
random3.6.3
time0.9.2

Modules

NameSourceVersion
rdsterraform-aws-modules/rds-aurora/aws~> 7.0
s3terraform-aws-modules/s3-bucket/aws~> 3.0

Resources

NameType
aws_iam_policy.nexus_bucketresource
aws_iam_role_policy_attachment.nexus_bucketresource
local_file.valuesresource
local_sensitive_file.secretsresource
postgresql_database.iqresource
postgresql_database.thisresource
postgresql_extension.thisresource
postgresql_role.iqresource
postgresql_role.thisresource
random_password.iq_passwordresource
random_password.thisresource
time_sleep.wait_for_rdsresource
aws_kms_key.aws_s3data source
aws_partition.currentdata source
aws_region.currentdata source

Inputs

NameDescriptionTypeDefaultRequired
allowed_cidr_blocksn/alist(string)[]no
allowed_security_groupsn/alist(string)[]no
block_public_accessIf true, a public access block will be created which disallows public access
to the bucket.
booltrueno
compatibility_modeIf enabled, this flag disables some AWS features which are not available in
all AWS partitions/regions.
booltrueno
config_output_dirn/astring"."no
db_iq_usernamen/astringnullno
db_usernamen/astringnullno
logging_bucketn/astringnullno
namen/astringn/ayes
nexus_iq_enabledn/aboolfalseno
nexus_pro_version_enabledn/aboolfalseno
persistentn/aboolfalseno
rds_auto_scalen/a
object({
enabled = bool
min = number
max = number
})
{
"enabled": false,
"max": 5,
"min": 0
}
no
rds_backup_retention_periodn/anumber14no
rds_engine_versionn/astring"14"no
rds_instance_classn/astring"db.t4g.medium"no
rds_instancesn/amap(any)
{
"primary": {}
}
no
rolesIAM Roles to allow access to S3 resourceslist(string)[]no
s3_kms_key_idn/astringnullno
secrets_filenamen/astring"bigbang-secrets-nexus-repository-manager.yaml"no
subnet_idsn/alist(string)n/ayes
tagsn/amap(any)&#x7b;&#x7d;no
values_filenamen/astring"bigbang-values-nexus-repository-manager.yaml"no
vpc_idn/astringn/ayes

Outputs

NameDescription
aws_dns_suffixOutput the DNS suffix of the current aws partition
bigbang_secrets_nexus_repository_managern/a
bigbang_values_nexus_repository_managern/a
nexus_iq_db_namen/a
nexus_iq_passwordn/a
nexus_iq_usernamen/a
nexus_repository_manager_db_hostnamen/a
nexus_repository_manager_db_namen/a
nexus_repository_manager_db_passwordn/a
nexus_repository_manager_db_portn/a
nexus_repository_manager_db_usernamen/a