Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-greengrassv2
https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-greengrassv2
aws-resources greengrassv2 resources
Last synced: 5 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-greengrassv2
- Owner: aws-cloudformation
- License: apache-2.0
- Created: 2020-10-20T16:59:24.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2024-11-08T02:15:03.000Z (5 days ago)
- Last Synced: 2024-11-08T03:19:02.835Z (5 days ago)
- Topics: aws-resources, greengrassv2, resources
- Language: Java
- Homepage:
- Size: 85 KB
- Stars: 0
- Watchers: 5
- Forks: 4
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
## aws-cloudformation-resource-providers-greengrassv2
TODO: Fill this README out!
Be sure to:
* Change the title in this README
* Edit your repository description on GitHub## Security
See [CONTRIBUTING](CONTRIBUTING.md#security-issue-notifications) for more information.
## License
This project is licensed under the Apache-2.0 License.
## Steps to build, run UTs and test in the personal account.
1. Go to CFN resource directory(e.g. `aws-greengrassv2-componentversion`).
2. Make some changes to resource definition json file(e.g. `aws-greengrassv2-componentversion.json`).
3. Run `cfn validate` and `cfn generate` to generate the cfn resource files.
4. Make some changes to handlers (e.g. `aws-greengrassv2-componentversion/src/main/java/software/amazon/greengrassv2/componentversion/CreateHandler`)
5. Run `mvn clean install -U` to build the packages and run the tests.
6. Run `mvn package` to generate the artifacts.
7. Paste credentials of the personal account to the terminal.
8. Run `cfn submit -v --region --set-default` to register this resource type to your personal account.
Make sure replace the with the region you want to deploy to.
In the response it may complain about the contract tests failing but we could ignore it since the resource is still under construction.
9. Prepare a cfn template which contains this new resource type.
10. Run `aws cloudformation create-stack --region --template-body "file://" --stack-name ` to create a stack with the template.
11. After making sure it works in the personal account, we are almost ready to commit the changes.
Before that, run `pip3 install pre-commit cloudformation-cli-java-plugin` to install the pre-commit and then run `pre-commit run --all-files`.
12. If some of tests fail, the command will fix the files itself. Then, we are good to commit the changes!