-
Notifications
You must be signed in to change notification settings - Fork 101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[bugfix] Prevent error by setting flood_on_encap and prio for aci_end… #1209
[bugfix] Prevent error by setting flood_on_encap and prio for aci_end… #1209
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should the data source also still have these attributes in the schema?
Officially no, but did not want to create changes to the schema since we will be making those changes anyway soon when we are working on the migrate of the resource. But since @sajagana was also asking the same I will add the change. |
cfe05c2
to
b0d4db8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
if EPg is part of a group that does not | ||
a contract for communication. | ||
* `prio` - (Optional) The QoS priority class identifier. | ||
* `annotation` - (Read-Only) Annotation of object Endpoint Security Group. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
of -> of the
a contract for communication. | ||
* `prio` - (Optional) The QoS priority class identifier. | ||
* `annotation` - (Read-Only) Annotation of object Endpoint Security Group. | ||
* `description` - (Read-Only) Description of object Endpoint Security Group. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
of -> of the
* `prio` - (Optional) The QoS priority class identifier. | ||
* `annotation` - (Read-Only) Annotation of object Endpoint Security Group. | ||
* `description` - (Read-Only) Description of object Endpoint Security Group. | ||
* `name_alias` - (Read-Only) Name Alias of object Endpoint Security Group. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
of -> of the
* `name_alias` - (Read-Only) Name Alias of object Endpoint Security Group. | ||
* `match_t` - (Read-Only) The provider label match criteria. | ||
* `pc_enf_pref` - (Read-Only) The preferred policy control. | ||
* `pref_gr_memb` - (Read-Only) Represents parameter used to determine if EPg is part of a group that does not a contract for communication. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
EPg -> EPG
@@ -32,18 +32,14 @@ data "aci_endpoint_security_group" "example" { | |||
## Argument Reference ## | |||
|
|||
* `application_profile_dn` - (Required) Distinguished name of parent Application Profile object. | |||
* `name` - (Required) name of object Endpoint Security Group. | |||
* `name` - (Required) Name of object Endpoint Security Group. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
of -> of the
* `annotation` - (Read-Only) Annotation of object Endpoint Security Group. | ||
* `description` - (Read-Only) Description of object Endpoint Security Group. | ||
* `name_alias` - (Read-Only) Name Alias of object Endpoint Security Group. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
of -> of the
* `name_alias` - (Read-Only) Name Alias of object Endpoint Security Group. | ||
* `match_t` - (Read-Only) The provider label match criteria. | ||
* `pc_enf_pref` - (Read-Only) The preferred policy control. | ||
* `pref_gr_memb` - (Read-Only) Represents parameter used to determine if EPg is part of a group that does not a contract for communication. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
EPg -> EPG
b0d4db8
to
bc3ac16
Compare
…point_security_group
…the non required attributes to read-only in aci_endpoint_security datasource
bc3ac16
to
6f03369
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
…point_security_group
In f305774
flood_on_encap
andprio
were removed from schema however in the import/create/update these values were still set.Which led to the following error:
│ Error: Plugin did not respond
│
│ The plugin encountered an error, and failed to respond to the plugin6.(*GRPCProvider).ImportResourceState call. The plugin
│ logs may contain more details.
╵
Stack trace from the terraform-provider-aci plugin:
panic: Invalid address to set: []string{"prio"}
Cleaning up the attributes setting from the functions cleaned up the error.