vinnie357 / terraform-vmware-bigip

bigip module for vmware vcenter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

terraform-vmware-bigip

bigip module for vmware vcenter

provides instances in vcenter and outputs templates for use with a pipeline,ansible or the f5 vscode extension.

examples:

requirements

example ova:

BIGIP-15.1.2-0.0.9

prepare vsphere OVA template

https://techdocs.f5.com/kb/en-us/products/big-ip_ltm/manuals/product/bigip-ve-setup-vmware-esxi-13-1-0/3.html

Login and delete the REST ID, SSH keys, etc. per the article : https://support.f5.com/csp/article/K44134742

rm -f /config/f5-rest-device-id
rm -f /config/ssh/ssh_host_*
rm -f /shared/ssh/ssh_host_*
rm -f /config/bigip.license
echo 'root:pleaseUseVault123!!' | chpasswd
echo 'admin:pleaseUseVault123!!' | chpasswd
cat > /root/.ssh/authorized_keys <<EOF
ssh-rsa ABGHS YOUR PUBLIC KEY HERE
EOF
shutdown -h now

Requirements

Name Version
terraform ~> 1.0.5
vsphere ~> 2.0.2

Providers

Name Version
local n/a
template n/a
vsphere ~> 2.0.2

Modules

No modules.

Resources

Name Type
local_file.do_file_01 resource
local_file.onboard_file resource
vsphere_virtual_machine.instance resource
template_file.do_json data source
template_file.vm_onboard data source
vsphere_compute_cluster.cluster data source
vsphere_datastore.datastore data source
vsphere_network.network1 data source
vsphere_network.network2 data source
vsphere_network.network3 data source
vsphere_network.network4 data source
vsphere_virtual_machine.template data source

Inputs

Name Description Type Default Required
bigip_admin_password vm admin pass any n/a yes
bigip_root_password vm root pass any n/a yes
instances instance configuration map {} no
vsphere_datacenter vsphere datacenter where resources are deployed any n/a yes

Outputs

Name Description
instances n/a

development

# stage changes
git add .
#manual pre-commit test
pre-commit run -a -v

About

bigip module for vmware vcenter

License:Apache License 2.0


Languages

Language:Shell 65.9%Language:HCL 16.3%Language:Smarty 15.8%Language:Dockerfile 2.0%