Skip to content

fortinetdev/terraform-alicloud-cloud-modules

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fortinet logo|

Terraform modules for Fortinet VM products on AliCloud

Terraform modules for deploying Fortinet VM products (e.g. FortiGate VM) on AliCloud.

Folder modules contains reusable modules for AliCloud configurations (Subfolder alicloud) and Fortinet VM products (Other subfolders).

Supported Templates

Modules

  1. generic_vm_standalone

    This module can be used to deploy any Fortinet VM: FortiGate / FortiManager / FortiAnalyzer

How to Use Examples/Modules:

  1. Create a new folder for your project.
  2. Create file "providers.tf", specify the provider version and region, for instance:
terraform {
  required_version = ">=1.0, < 2.0.0"
  required_providers {
    alicloud = {
      source = "aliyun/alicloud"
      version = "~> 1.0"
    }
  }
}

provider "alicloud" {
  region     = "<YOUR ALICLOUD REGION>" # Or leave it blank and use environment variable "ALIBABA_CLOUD_REGION"
  access_key = "<YOUR ALICLOUD ACCESS KEY>" # Or leave it blank and use environment variable "ALIBABA_CLOUD_ACCESS_KEY_ID"
  secret_key = "<YOUR ALICLOUD SECRET KEY>" # Or leave it blank and use environment variable "ALIBABA_CLOUD_ACCESS_KEY_SECRET"
}
  1. Create file "main.tf", specify the source to the target module, for instance: "fortinetdev/cloud-modules/alicloud//modules/fortinet/generic_vm_standalone". Provide your own values for necessary parameters of the module.
module "your_module_name" { 
    source = "fortinetdev/cloud-modules/alicloud//modules/<module_name>" 

    <Specify module variables>
} 
  1. Execute the commands terraform init and terraform apply.

Request, Question or Issue

If there is a missing feature or a bug -- open an issue

License

License © Fortinet Technologies. All rights reserved.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages