package
0.9.0
Repository: https://github.com/akamai/cli-terraform.git
Documentation: pkg.go.dev

# Functions

CheckFiles verifies if all given files doesn't exist in filesystem.
CreateTFFilename creates full tf file path.
EscapeName takes a string and makes it suitable for a tf resource instance name USAGE EXAMPLE: resource "akamai_appsec_waf_mode" "{{ escapename $policyName }}" {.
EscapeQuotedStringLit returns escaped terraform string literal https://www.terraform.io/docs/language/expressions/strings.html#escape-sequences This function is based on https://github.com/hashicorp/hcl/blob/c7ee8b78101c33b4dfed2641d78cf5e9651eabb8/hclwrite/generate.go#L207-L246.
Float64Ptr returns the address of the float64.
Int64Ptr returns the address of the int64.
IntPtr returns the address of the int.
StringPtr returns the address of the string.
ToJSON returns a JSON representation of the given object USAGE EXAMPLE: "bypassNetworkLists": {{ tojson .BypassNetworkLists }},.
ToList returns a list as a comma delimited string USAGE EXAMPLE: security_policy_ids = [ {{ tolist .Siem.FirewallPolicyIds }} ].

# Variables

Schema means that content of the policy will be generated using HCL instead of JSON file.
TFWorkPath is a target directory for generated terraform resources.