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

feat(apig_signature): import apig_signature resource, unit test and document. #1055

Conversation

Zhukun-Huawei
Copy link
Contributor

@Zhukun-Huawei Zhukun-Huawei commented Oct 26, 2023

What this PR does / why we need it:

Which issue this PR fixes:
(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged)
fixes #xxx

Special notes for your reviewer:

Release note:


PR Checklist

  • Tests added/passed.
  • Documentation updated.
  • Schema updated.

Acceptance Steps Performed

make testacc TEST='./flexibleengine' TESTARGS='-run=TestAccSomethingV0_basic'
...
=== RUN   TestAccSomethingV0_basic
--- PASS: TestAccSomethingV0_basic (70.75s)
PASS
ok      github.com/FlexibleEngineCloud/terraform-provider-flexibleengine/flexibleengine       70.796s

@@ -21,6 +21,7 @@ var (
OS_ACCESS_KEY = os.Getenv("OS_ACCESS_KEY")
OS_SECRET_KEY = os.Getenv("OS_SECRET_KEY")
OS_PROJECT_ID = os.Getenv("OS_PROJECT_ID")
OS_USER_ID = os.Getenv("OS_USER_ID")
Copy link
Contributor

Choose a reason for hiding this comment

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

use ctrl + alt + L to format the file

Copy link
Contributor Author

Choose a reason for hiding this comment

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

image
done

@@ -55,7 +55,7 @@ data "flexibleengine_compute_flavors_v2" "test" {
memory_size = 4
}

data "flexibleengine_images_image" "test" {
data "flexibleengine_images_image_v2" "test" {
Copy link
Contributor

Choose a reason for hiding this comment

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

flexibleengine_images_image_v2 is deprecated, use flexibleengine_images_image instead

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done, revised

+ **hmac**: HMAC type.
+ **aes**: AES type

Changing this will create a new resource.
Copy link
Contributor

Choose a reason for hiding this comment

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

This field is not ForceNew, please remove Changing this will create a new resource.

Copy link
Contributor Author

@Zhukun-Huawei Zhukun-Huawei Nov 20, 2023

Choose a reason for hiding this comment

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

image
done

It must start with a letter, digit, plus sign (+), or slash (/).

If not specified, the key will automatically generated. The auto-generation is only supported on first creation.
Changing this will create a new resource.
Copy link
Contributor

Choose a reason for hiding this comment

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

This field is not ForceNew, please remove Changing this will create a new resource.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

image
done


* `secret` - (Optional, String) Specifies the signature secret.
If not specified, the secret will automatically generated. The auto-generation is only supported on first creation.
Changing this will create a new resource.
Copy link
Contributor

Choose a reason for hiding this comment

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

This field is not ForceNew, please remove Changing this will create a new resource.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

image
done

+ **aes-128-cfb**
+ **aes-256-cfb**

Changing this will create a new resource.
Copy link
Contributor

Choose a reason for hiding this comment

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

This field is not ForceNew, please remove Changing this will create a new resource.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

image
done

Copy link

This PR exceeds the recommended size of 1000 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size.

Copy link

This PR exceeds the recommended size of 1000 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size.

@Zippo-Wang
Copy link
Contributor

/lgtm

@github-actions github-actions bot added the LGTM label Nov 21, 2023
@chengxiangdong
Copy link
Contributor

/lgtm

@github-actions github-actions bot removed the LGTM label Nov 24, 2023
@Zhukun-Huawei Zhukun-Huawei force-pushed the unblocked_apig_branch branch 3 times, most recently from e058574 to ac8d84c Compare November 24, 2023 10:11
@Zippo-Wang
Copy link
Contributor

/lgtm

@github-actions github-actions bot added the LGTM label Nov 25, 2023
@github-actions github-actions bot removed the LGTM label Nov 25, 2023
@Zippo-Wang
Copy link
Contributor

/lgtm

@github-actions github-actions bot added the LGTM label Nov 25, 2023
@chengxiangdong
Copy link
Contributor

/lgtm

@chengxiangdong
Copy link
Contributor

/approve

@Zhukun-Huawei Zhukun-Huawei deleted the unblocked_apig_branch branch December 25, 2023 07:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants