Skip to content

Commit

Permalink
testing commit
Browse files Browse the repository at this point in the history
  • Loading branch information
scotttyso committed Oct 23, 2024
1 parent 39542df commit c94759e
Show file tree
Hide file tree
Showing 11 changed files with 173 additions and 95 deletions.
10 changes: 5 additions & 5 deletions .terraform-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@ content: |-
## Recommended Module Versions
## Module(s) Release 4.2.11-18775 Compatibility
## Module(s) Release 4.2.11-20241004054146474 Compatibility
| **Module** | **API Version** | **Provider Version** | **Appliance Version** | **Module Notes**
| :-----------: | :-------------: | :------------------: | :-------------------: | :--------------------------: |
| organizations | >=1.0.11-18775 | 1.0.57 | Not Supported | New Module to Manage Organizations/Resource Groups. |
| pools | >=1.0.11-18775 | 1.0.57 | Not Supported | Adds IP Pool Block Level IP Configuration. |
| policies | >=1.0.11-18775 | 1.0.57 | Not Supported | * New Scrub Policy |
| profiles | >=1.0.11-18775 | 1.0.57 | Not Supported | * Adds Scrub Policy to Server Profiles/Templates. |
| organizations | >=1.0.11-20241004054146474 | 1.0.57 | Not Supported | New Module to Manage Organizations/Resource Groups. |
| pools | >=1.0.11-20241004054146474 | 1.0.57 | Not Supported | Adds IP Pool Block Level IP Configuration. |
| policies | >=1.0.11-20241004054146474 | 1.0.57 | Not Supported | * New Scrub Policy |
| profiles | >=1.0.11-20241004054146474 | 1.0.57 | Not Supported | * Adds Scrub Policy to Server Profiles/Templates. |
## Module(s) Release 4.2.11-16712 Compatibility
Expand Down
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@

## Recommended Module Versions

## Module(s) Release 4.2.11-18775 Compatibility
## Module(s) Release 4.2.11-20241004054146474 Compatibility

| **Module** | **API Version** | **Provider Version** | **Appliance Version** | **Module Notes**
| :-----------: | :-------------: | :------------------: | :-------------------: | :--------------------------: |
| organizations | >=1.0.11-18775 | 1.0.57 | Not Supported | New Module to Manage Organizations/Resource Groups. |
| pools | >=1.0.11-18775 | 1.0.57 | Not Supported | Adds IP Pool Block Level IP Configuration. |
| policies | >=1.0.11-18775 | 1.0.57 | Not Supported | * New Scrub Policy |
| profiles | >=1.0.11-18775 | 1.0.57 | Not Supported | * Adds Scrub Policy to Server Profiles/Templates. |
| organizations | >=1.0.11-20241004054146474 | 1.0.57 | Not Supported | New Module to Manage Organizations/Resource Groups. |
| pools | >=1.0.11-20241004054146474 | 1.0.57 | Not Supported | Adds IP Pool Block Level IP Configuration. |
| policies | >=1.0.11-20241004054146474 | 1.0.57 | Not Supported | * New Scrub Policy |
| profiles | >=1.0.11-20241004054146474 | 1.0.57 | Not Supported | * Adds Scrub Policy to Server Profiles/Templates. |

## Module(s) Release 4.2.11-16712 Compatibility

Expand Down Expand Up @@ -337,10 +337,10 @@ terraform.exe apply "main.plan"

| Name | Source | Version |
|------|--------|---------|
| <a name="module_organizations"></a> [organizations](#module\_organizations) | terraform-cisco-modules/organizations/intersight | 4.2.11-18775 |
| <a name="module_pools"></a> [pools](#module\_pools) | terraform-cisco-modules/pools/intersight | 4.2.11-18775 |
| <a name="module_policies"></a> [policies](#module\_policies) | terraform-cisco-modules/policies/intersight | 4.2.11-18775 |
| <a name="module_profiles"></a> [profiles](#module\_profiles) | terraform-cisco-modules/profiles/intersight | 4.2.11-18775 |
| <a name="module_organizations"></a> [organizations](#module\_organizations) | terraform-cisco-modules/organizations/intersight | 4.2.11-20241004054146474 |
| <a name="module_pools"></a> [pools](#module\_pools) | terraform-cisco-modules/pools/intersight | 4.2.11-20241004054146474 |
| <a name="module_policies"></a> [policies](#module\_policies) | terraform-cisco-modules/policies/intersight | 4.2.11-20241004054146474 |
| <a name="module_profiles"></a> [profiles](#module\_profiles) | terraform-cisco-modules/profiles/intersight | 4.2.11-20241004054146474 |

**NOTE: When the Data is merged from the YAML files, it will run through the modules using for_each loop(s). Sensitive Variables cannot be added to a for_each loop, instead use the variables below to add sensitive values for policies.**

Expand Down
2 changes: 1 addition & 1 deletion Wakanda/global_settings.ezi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ global_settings:
- key: "Module"
value: "easy-imm"
- key: "Version"
value: "4.2.11-18775"
value: "4.2.11-20241004054146474"
6 changes: 3 additions & 3 deletions Wakanda/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ data "utils_yaml_merge" "model" {
module "pools" {
# source = "/home/tyscott/terraform-cisco-modules/terraform-intersight-pools"
source = "terraform-cisco-modules/pools/intersight"
version = "4.2.11-18775"
version = "4.2.11-20241004054146474"
for_each = {
for i in ["map"] : i => i if length(flatten([for org in setsubtract(keys(local.model), local.non_orgs) : [
for e in keys(lookup(local.model[org], "pools", {})) : e]])) > 0 || length(
Expand All @@ -42,7 +42,7 @@ module "pools" {
module "policies" {
# source = "/home/tyscott/terraform-cisco-modules/terraform-intersight-policies"
source = "terraform-cisco-modules/policies/intersight"
version = "4.2.11-18775"
version = "4.2.11-20241004054146474"
for_each = {
for i in ["map"] : i => i if length(flatten([for org in keys(local.model) : [
for e in keys(lookup(local.model[org], "policies", {})) : local.model[org].policies[e] if length(lookup(lookup(
Expand All @@ -64,7 +64,7 @@ module "policies" {
module "profiles" {
# source = "/home/tyscott/terraform-cisco-modules/terraform-intersight-profiles"
source = "terraform-cisco-modules/profiles/intersight"
version = "4.2.11-18775"
version = "4.2.11-20241004054146474"
for_each = {
for i in ["map"] : i => i if length(flatten([for org in keys(local.model) : [for e in ["profiles", "templates"] : [
for d in ["chassis", "domain", "server"] : lookup(lookup(local.model[org], e, {}), d, [])]]]
Expand Down
10 changes: 0 additions & 10 deletions bulk_issue/profiles/server.ezi.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion global_settings.ezi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ global_settings:
- key: "Module"
value: "easy-imm"
- key: "Version"
value: "4.2.11-18775"
value: "4.2.11-20241004054146474"
8 changes: 4 additions & 4 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ data "utils_yaml_merge" "model" {
module "organizations" {
# source = "/home/tyscott/terraform-cisco-modules/terraform-intersight-organizations"
source = "terraform-cisco-modules/organizations/intersight"
version = "4.2.11-18775"
version = "4.2.11-20241004054146474"
for_each = { for i in ["map"] : i => i if length([setsubtract(keys(local.model), local.non_orgs)]) > 0 }
global_settings = local.global_settings
model = { for k, v in local.model : k => v if length(regexall("^global_settings|intersight$", k)) == 0 }
Expand All @@ -34,7 +34,7 @@ module "organizations" {
module "pools" {
# source = "/home/tyscott/terraform-cisco-modules/terraform-intersight-pools"
source = "terraform-cisco-modules/pools/intersight"
version = "4.2.11-18775"
version = "4.2.11-20241004054146474"
for_each = {
for i in ["map"] : i => i if length(flatten([for org in setsubtract(keys(local.model), local.non_orgs) : [
for e in keys(lookup(local.model[org], "pools", {})) : e]])) > 0 || length(
Expand All @@ -56,7 +56,7 @@ module "pools" {
module "policies" {
# source = "/home/tyscott/terraform-cisco-modules/terraform-intersight-policies"
source = "terraform-cisco-modules/policies/intersight"
version = "4.2.11-18775"
version = "4.2.11-20241004054146474"
for_each = {
for i in ["map"] : i => i if length(flatten([for org in keys(local.model) : [
for e in keys(lookup(local.model[org], "policies", {})) : local.model[org].policies[e] if length(lookup(lookup(
Expand All @@ -79,7 +79,7 @@ module "policies" {
module "profiles" {
# source = "/home/tyscott/terraform-cisco-modules/terraform-intersight-profiles"
source = "terraform-cisco-modules/profiles/intersight"
version = "4.2.11-18775"
version = "4.2.11-20241004054146474"
for_each = {
for i in ["map"] : i => i if length(flatten([for org in keys(local.model) : [for e in ["profiles", "templates"] : [
for d in ["chassis", "domain", "server"] : lookup(lookup(local.model[org], e, {}), d, [])]]]
Expand Down
3 changes: 3 additions & 0 deletions policies/compute.ezi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,9 @@ common:
firmware_authenticate:
cco_password: 1
cco_user: 1
memory:
- dimm_blocklisting: false
name: memory_default
scrub:
- bios: false
disk: false
Expand Down
13 changes: 12 additions & 1 deletion recommended_firmware/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ In the `recommended_firmware` folder is a simple terraform setup that you can us

## Updates

* 2024-07-23: Output Below ran on August 22, 2024.
* 2024-07-23: Output Below ran on October 23, 2024.

Following is an example output:

Expand Down Expand Up @@ -67,6 +67,17 @@ recommended_firmware = {
"UCSC-C240-M6",
"UCSC-C245-M6",
])
"4.3(4.241014)" = tolist([
"UCSC-C245-M8",
])
"4.3(4.241063)" = tolist([
"UCSC-C220-M7",
"UCSC-C225-M6",
"UCSC-C240-M7",
])
"4.3(4.242038)" = tolist([
"UCSC-C225-M6",
])
}
}
```
1 change: 1 addition & 0 deletions templates/server.ezi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ common:
ipmi_over_lan_policy: ipmi
lan_connectivity_policy: aci-lcp
local_user_policy: users
memory_policy: memory_default
name: aci-M6-intel-virtual-tpm-M2-pxe
power_policy: server
san_connectivity_policy: scp
Expand Down
Loading

0 comments on commit c94759e

Please sign in to comment.