Rename DSA credentials to credential (#76)

* Rename in LogMe

* Rename in other DSA

* Rename examples

* Rename folder names

* Rename in error messages
This commit is contained in:
João Palet 2023-10-11 09:54:08 +02:00 committed by GitHub
parent bd286d3c2d
commit fee47a6400
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
59 changed files with 561 additions and 544 deletions

View file

@ -33,7 +33,7 @@ var scrapeConfigResource = map[string]string{
"saml2_enable_url_parameters": "false",
}
var credentialsResource = map[string]string{
var credentialResource = map[string]string{
"project_id": testutil.ProjectId,
}
@ -129,7 +129,7 @@ func TestAccResource(t *testing.T) {
resource.TestCheckResourceAttr("stackit_argus_scrapeconfig.scrapeconfig", "saml2.enable_url_parameters", scrapeConfigResource["saml2_enable_url_parameters"]),
// credentials
resource.TestCheckResourceAttr("stackit_argus_credential.credential", "project_id", credentialsResource["project_id"]),
resource.TestCheckResourceAttr("stackit_argus_credential.credential", "project_id", credentialResource["project_id"]),
resource.TestCheckResourceAttrPair(
"stackit_argus_instance.instance", "instance_id",
"stackit_argus_credential.credential", "instance_id",