Skip to content
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

added docs & enhanced network-port-attach resource #3756

Merged
merged 3 commits into from
May 24, 2022

Conversation

dhirendersingh19
Copy link
Collaborator

Community Note

  • Please vote on this pull request by adding a 👍 reaction to the original pull request comment to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for pull request followers and do not help prioritize the request

Relates OR Closes #0000

Output from acceptance testing:

$ make testacc TESTARGS='-run=TestAccXXX'
=== RUN   TestAccIBMPINetworkPortAttachbasic
--- PASS: TestAccIBMPINetworkPortAttachbasic (84.91s)
PASS
=== RUN   TestAccIBMPINetworkPortAttachVlanbasic
--- PASS: TestAccIBMPINetworkPortAttachVlanbasic (792.61s)
PASS
...

},
Schema: map[string]*schema.Schema{
"port_id": {
Type: schema.TypeString,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The required argument can't be removed directly needs to follow Terraform guidelines
https://www.terraform.io/plugin/sdkv2/best-practices/deprecations

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this resources we are exposin to the users for the first time ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this resource was present in an earlier version but without documentation, the network-port resource will be deprecated and the features of network-port will combine in the network-port-attach resource

},
helpers.PIInstanceName: {
helpers.PIInstanceId: {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as above can't change a argument ..

@yussufsh yussufsh added the service/Power Systems Issues related to Power Systems label May 17, 2022
@hkantare hkantare merged commit 681fffd into IBM-Cloud:master May 24, 2022
@dhirendersingh19 dhirendersingh19 deleted the network-port-attach branch August 18, 2022 04:54
SunithaGudisagarIBM pushed a commit to ibm-vpc/terraform-provider-ibm that referenced this pull request Sep 14, 2022
* add/update network port attach resource

* feedback resolved

* improved network port attach docs
SunithaGudisagarIBM pushed a commit to ibm-vpc/terraform-provider-ibm that referenced this pull request Sep 14, 2022
* add/update network port attach resource

* feedback resolved

* improved network port attach docs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
service/Power Systems Issues related to Power Systems
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants