Skip to content

Commit

Permalink
Updated provider version to 1.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
MangirishK committed Oct 24, 2024
1 parent 43a3297 commit b93db64
Show file tree
Hide file tree
Showing 60 changed files with 772 additions and 56 deletions.
2 changes: 1 addition & 1 deletion docs/data-sources/bios.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ limitations under the License.
terraform {
required_providers {
redfish = {
version = "1.4.0"
version = "1.5.0"
source = "registry.terraform.io/dell/redfish"
}
}
Expand Down
2 changes: 1 addition & 1 deletion docs/data-sources/dell_idrac_attributes.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ limitations under the License.
terraform {
required_providers {
redfish = {
version = "1.4.0"
version = "1.5.0"
source = "registry.terraform.io/dell/redfish"
}
}
Expand Down
122 changes: 121 additions & 1 deletion docs/data-sources/directory_service_auth_provider.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
# Copyright (c) 2024 Dell Inc., or its subsidiaries. All Rights Reserved.
#
# Licensed under the Mozilla Public License Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://mozilla.org/MPL/2.0/
#
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

title: "redfish_directory_service_auth_provider data source"
linkTitle: "redfish_directory_service_auth_provider"
page_title: "redfish_directory_service_auth_provider Data Source - terraform-provider-redfish"
subcategory: ""
description: |-
Expand All @@ -12,6 +28,107 @@ This Terraform datasource is used to query existing Directory Service auth provi

## Example Usage

variables.tf
```terraform
/*
Copyright (c) 2024 Dell Inc., or its subsidiaries. All Rights Reserved.
Licensed under the Mozilla Public License Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://mozilla.org/MPL/2.0/
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
variable "rack1" {
type = map(object({
user = string
password = string
endpoint = string
ssl_insecure = bool
}))
}
```

terraform.tfvars
```terraform
/*
Copyright (c) 2024 Dell Inc., or its subsidiaries. All Rights Reserved.
Licensed under the Mozilla Public License Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://mozilla.org/MPL/2.0/
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
rack1 = {
"my-server-1" = {
user = "admin"
password = "passw0rd"
endpoint = "https://my-server-1.myawesomecompany.org"
ssl_insecure = true
},
"my-server-2" = {
user = "admin"
password = "passw0rd"
endpoint = "https://my-server-2.myawesomecompany.org"
ssl_insecure = true
},
}
```

provider.tf
```terraform
/*
Copyright (c) 2024 Dell Inc., or its subsidiaries. All Rights Reserved.
Licensed under the Mozilla Public License Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://mozilla.org/MPL/2.0/
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
terraform {
required_providers {
redfish = {
version = "1.5.0"
source = "registry.terraform.io/dell/redfish"
}
}
}
provider "redfish" {
# `redfish_servers` is used to align with enhancements to password management.
# Map of server BMCs with their alias keys and respective user credentials.
# This is required when resource/datasource's `redfish_alias` is not null
redfish_servers = var.rack1
}
```

main.tf
```terraform
/*
Copyright (c) 2024 Dell Inc., or its subsidiaries. All Rights Reserved.
Expand Down Expand Up @@ -52,6 +169,8 @@ output "directory_service_auth_provider" {
}
```

After the successful execution of the above data block, we can see the output in the state file.

<!-- schema generated by tfplugindocs -->
## Schema

Expand Down Expand Up @@ -209,3 +328,4 @@ Read-Only:
- `health` (String) health
- `health_rollup` (String) health rollup
- `state` (String) state of the storage controller

2 changes: 1 addition & 1 deletion docs/data-sources/firmware_inventory.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ limitations under the License.
terraform {
required_providers {
redfish = {
version = "1.4.0"
version = "1.5.0"
source = "registry.terraform.io/dell/redfish"
}
}
Expand Down
2 changes: 1 addition & 1 deletion docs/data-sources/network.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ limitations under the License.
terraform {
required_providers {
redfish = {
version = "1.4.0"
version = "1.5.0"
source = "registry.terraform.io/dell/redfish"
}
}
Expand Down
2 changes: 1 addition & 1 deletion docs/data-sources/storage.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ limitations under the License.
terraform {
required_providers {
redfish = {
version = "1.4.0"
version = "1.5.0"
source = "registry.terraform.io/dell/redfish"
}
}
Expand Down
122 changes: 121 additions & 1 deletion docs/data-sources/storage_controller.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
# Copyright (c) 2024 Dell Inc., or its subsidiaries. All Rights Reserved.
#
# Licensed under the Mozilla Public License Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://mozilla.org/MPL/2.0/
#
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

title: "redfish_storage_controller data source"
linkTitle: "redfish_storage_controller"
page_title: "redfish_storage_controller Data Source - terraform-provider-redfish"
subcategory: ""
description: |-
Expand All @@ -12,6 +28,107 @@ This Terraform datasource is used to query existing storage controller configura

## Example Usage

variables.tf
```terraform
/*
Copyright (c) 2021-2024 Dell Inc., or its subsidiaries. All Rights Reserved.
Licensed under the Mozilla Public License Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://mozilla.org/MPL/2.0/
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
variable "rack1" {
type = map(object({
user = string
password = string
endpoint = string
ssl_insecure = bool
}))
}
```

terraform.tfvars
```terraform
/*
Copyright (c) 2024 Dell Inc., or its subsidiaries. All Rights Reserved.
Licensed under the Mozilla Public License Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://mozilla.org/MPL/2.0/
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
rack1 = {
"my-server-1" = {
user = "admin"
password = "passw0rd"
endpoint = "https://my-server-1.myawesomecompany.org"
ssl_insecure = true
},
"my-server-2" = {
user = "admin"
password = "passw0rd"
endpoint = "https://my-server-2.myawesomecompany.org"
ssl_insecure = true
},
}
```

provider.tf
```terraform
/*
Copyright (c) 2022-2024 Dell Inc., or its subsidiaries. All Rights Reserved.
Licensed under the Mozilla Public License Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://mozilla.org/MPL/2.0/
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
terraform {
required_providers {
redfish = {
version = "1.5.0"
source = "registry.terraform.io/dell/redfish"
}
}
}
provider "redfish" {
# `redfish_servers` is used to align with enhancements to password management.
# Map of server BMCs with their alias keys and respective user credentials.
# This is required when resource/datasource's `redfish_alias` is not null
redfish_servers = var.rack1
}
```

main.tf
```terraform
/*
Copyright (c) 2024 Dell Inc., or its subsidiaries. All Rights Reserved.
Expand Down Expand Up @@ -67,6 +184,8 @@ output "storage_controller_example" {
}
```

After the successful execution of the above data block, we can see the output in the state file.

<!-- schema generated by tfplugindocs -->
## Schema

Expand Down Expand Up @@ -283,3 +402,4 @@ Read-Only:
- `health` (String) health
- `health_rollup` (String) health rollup
- `state` (String) state of the storage controller

2 changes: 1 addition & 1 deletion docs/data-sources/system_boot.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ limitations under the License.
terraform {
required_providers {
redfish = {
version = "1.4.0"
version = "1.5.0"
source = "registry.terraform.io/dell/redfish"
}
}
Expand Down
2 changes: 1 addition & 1 deletion docs/data-sources/virtual_media.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ limitations under the License.
terraform {
required_providers {
redfish = {
version = "1.4.0"
version = "1.5.0"
source = "registry.terraform.io/dell/redfish"
}
}
Expand Down
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ limitations under the License.
terraform {
required_providers {
redfish = {
version = "1.4.0"
version = "1.5.0"
source = "registry.terraform.io/dell/redfish"
}
}
Expand Down
2 changes: 1 addition & 1 deletion docs/resources/bios.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ limitations under the License.
terraform {
required_providers {
redfish = {
version = "1.4.0"
version = "1.5.0"
source = "registry.terraform.io/dell/redfish"
}
}
Expand Down
2 changes: 1 addition & 1 deletion docs/resources/boot_order.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ limitations under the License.
terraform {
required_providers {
redfish = {
version = "1.4.0"
version = "1.5.0"
source = "registry.terraform.io/dell/redfish"
}
}
Expand Down
2 changes: 1 addition & 1 deletion docs/resources/boot_source_override.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ limitations under the License.
terraform {
required_providers {
redfish = {
version = "1.4.0"
version = "1.5.0"
source = "registry.terraform.io/dell/redfish"
}
}
Expand Down
2 changes: 1 addition & 1 deletion docs/resources/certificate.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ limitations under the License.
terraform {
required_providers {
redfish = {
version = "1.4.0"
version = "1.5.0"
source = "registry.terraform.io/dell/redfish"
}
}
Expand Down
Loading

0 comments on commit b93db64

Please sign in to comment.