Skip to content

Commit

Permalink
[ignore] trying different test values
Browse files Browse the repository at this point in the history
  • Loading branch information
abrahammughal committed Jun 25, 2024
1 parent f321a1b commit ad4bdf7
Show file tree
Hide file tree
Showing 16 changed files with 80 additions and 84 deletions.
2 changes: 1 addition & 1 deletion docs/data-sources/remote_site_id_mappings.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Data source for Remote Site Id Mappings
data "aci_remote_site_id_mappings" "example_associated_site" {
parent_dn = aci_associated_site.example.id
site_id = "0"
site_id = "102"
}
```
Expand Down
4 changes: 2 additions & 2 deletions docs/resources/associated_site.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ resource "aci_associated_site" "full_example_application_epg" {
name_alias = "name_alias"
owner_key = "owner_key"
owner_tag = "owner_tag"
site_id = "0"
site_id = "102"
annotations = [
{
key = "key_0"
Expand All @@ -85,7 +85,7 @@ resource "aci_associated_site" "full_example_bridge_domain" {
name_alias = "name_alias"
owner_key = "owner_key"
owner_tag = "owner_tag"
site_id = "0"
site_id = "102"
annotations = [
{
key = "key_0"
Expand Down
8 changes: 4 additions & 4 deletions docs/resources/remote_site_id_mappings.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ The configuration snippet below creates a Remote Site Id Mappings with only requ
resource "aci_remote_site_id_mappings" "example_associated_site" {
parent_dn = aci_associated_site.example.id
site_id = "0"
site_id = "102"
}
```
Expand All @@ -60,9 +60,9 @@ resource "aci_remote_site_id_mappings" "full_example_associated_site" {
name_alias = "name_alias"
owner_key = "owner_key"
owner_tag = "owner_tag"
remote_vrf_pc_tag = "16386"
remote_pc_tag = "2818057"
site_id = "0"
remote_vrf_pc_tag = "remote_vrf_pc_tag"
remote_pc_tag = "remote_pc_tag"
site_id = "102"
annotations = [
{
key = "key_0"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

data "aci_remote_site_id_mappings" "example_associated_site" {
parent_dn = aci_associated_site.example.id
site_id = "0"
site_id = "102"
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ resource "aci_associated_site" "full_example_application_epg" {
name_alias = "name_alias"
owner_key = "owner_key"
owner_tag = "owner_tag"
site_id = "0"
site_id = "102"
annotations = [
{
key = "key_0"
Expand All @@ -30,7 +30,7 @@ resource "aci_associated_site" "full_example_bridge_domain" {
name_alias = "name_alias"
owner_key = "owner_key"
owner_tag = "owner_tag"
site_id = "0"
site_id = "102"
annotations = [
{
key = "key_0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ resource "aci_remote_site_id_mappings" "full_example_associated_site" {
name_alias = "name_alias"
owner_key = "owner_key"
owner_tag = "owner_tag"
remote_vrf_pc_tag = "16386"
remote_pc_tag = "2818057"
site_id = "0"
remote_vrf_pc_tag = "remote_vrf_pc_tag"
remote_pc_tag = "remote_pc_tag"
site_id = "102"
annotations = [
{
key = "key_0"
Expand Down
2 changes: 1 addition & 1 deletion examples/resources/aci_remote_site_id_mappings/resource.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

resource "aci_remote_site_id_mappings" "example_associated_site" {
parent_dn = aci_associated_site.example.id
site_id = "0"
site_id = "102"
}
20 changes: 8 additions & 12 deletions gen/definitions/properties.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -198,16 +198,16 @@ fvSiteAssociated:
documentation:
siteId: "A number between 0 and 1000 to identify the primary site being associated"
default_values:
site_id: "0"
site_id: "102"
resource_required:
- "site_id"
test_values:
all:
site_id: "0"
site_id: "102"
default:
site_id: "0"
site_id: "102"
resource_required:
site_id: "0"
site_id: "102"
parents:
- class_name: "fvCtx"
parent_dependency: "fvTenant"
Expand All @@ -225,18 +225,14 @@ fvRemoteId:
test_values:
all:
site_id: "102"
remote_vrf_pc_tag: "16386"
remote_pc_tag: "2818057"
default:
site_id: "0"
remote_vrf_pc_tag: "0"
remote_pc_tag: "0"
site_id: "102"
resource_required:
site_id: "0"
site_id: "102"
resource_required:
- "site_id"
- "remote_vrf_pc_tag"
- "remote_pc_tag"
datasource_required:
- "site_id"
default_values:
siteId: "102"
parents:
Expand Down
12 changes: 6 additions & 6 deletions gen/testvars/fvRemoteId.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ default:
name_alias: ""
owner_key: ""
owner_tag: ""
remote_vrf_pc_tag: "0"
remote_pc_tag: "0"
site_id: "0"
remote_vrf_pc_tag: ""
remote_pc_tag: ""
site_id: "102"

datasource_non_existing:
site_id: "non_existing_site_id"
Expand All @@ -20,7 +20,7 @@ datasource_required:
site_id: "test_site_id"

resource_required:
site_id: "0"
site_id: "102"

all:
annotation: "annotation"
Expand All @@ -29,8 +29,8 @@ all:
name_alias: "name_alias"
owner_key: "owner_key"
owner_tag: "owner_tag"
remote_vrf_pc_tag: "16386"
remote_pc_tag: "2818057"
remote_vrf_pc_tag: "remote_vrf_pc_tag"
remote_pc_tag: "remote_pc_tag"
site_id: "102"

children:
Expand Down
4 changes: 2 additions & 2 deletions gen/testvars/fvSiteAssociated.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ default:
name_alias: ""
owner_key: ""
owner_tag: ""
site_id: "0"
site_id: "102"


all:
Expand All @@ -19,7 +19,7 @@ all:
name_alias: "name_alias"
owner_key: "owner_key"
owner_tag: "owner_tag"
site_id: "0"
site_id: "102"

children:
annotations:
Expand Down
4 changes: 2 additions & 2 deletions internal/provider/data_source_aci_associated_site_test.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

32 changes: 16 additions & 16 deletions internal/provider/resource_aci_associated_site_test.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit ad4bdf7

Please sign in to comment.