-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
99 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,7 @@ project { | |
copyright_year = 2024 | ||
header_ignore = [ | ||
".github/**", | ||
"examples/**", | ||
".goreleaser.yml", | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
terraform { | ||
required_providers { | ||
storagegrid = { | ||
source = "dmpe/storagegrid" | ||
version = "" # My strong advice - always pin this provider's version! | ||
} | ||
} | ||
} | ||
|
||
provider "storagegrid" { | ||
address = "https://grid.firm.com:9443/api/v3" | ||
username = "grid" | ||
password = "change_me" | ||
tenant = "<int>" # Tenant ID | ||
insecure = false | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
terraform { | ||
required_providers { | ||
storagegrid = { | ||
source = "dmpe/storagegrid" | ||
version = "" # My strong advice - always pin this provider's version! | ||
} | ||
} | ||
} | ||
|
||
provider "storagegrid" { | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
--- | ||
page_title: "{{ .ProviderShortName }} Provider" | ||
description: |- | ||
NetApp StorageGrid provider for working with S3 REST API. | ||
--- | ||
|
||
# NetApp {{ .ProviderShortName }} Provider | ||
|
||
This unofficial NetApp provider can be used to interact with [StorageGrid](https://www.netapp.com/data-storage/storagegrid/) system. | ||
Such system, be it a hardware or virtual appliance, supports Amazon S3 protocol. | ||
|
||
It is import to note that this provider only supports "TENANT" REST API - not the administrative "GRID" REST API. | ||
|
||
See also provider's documentation on GitHub, and on [NetApp](https://docs.netapp.com/us-en/storagegrid-family/). | ||
|
||
## Example Provider Usage | ||
|
||
{{ tffile "examples/provider/main.tf" }} | ||
|
||
### Using environmental variables | ||
|
||
{{ tffile "examples/provider/main_env.tf" }} | ||
|
||
|
||
{{ .SchemaMarkdown | trimspace }} | ||
|