aws-ia / cloudformation-github-resource-providers Goto Github PK
View Code? Open in Web Editor NEWGitHub CFN Registry resource
License: Apache License 2.0
GitHub CFN Registry resource
License: Apache License 2.0
Fails in both contract testing and stack creation. It creates the invitation successfully in the organization, but then immediately fails with AlreadyExists
.
Resource handler returned message: "Error: Resource of type 'GitHub::Repositories::Collaborator'
with identifier 'Collab' already exists."
(RequestToken: 1ab35620-a3ea-bcec-6c21-478165ff5286, HandlerErrorCode: AlreadyExists)
If your CFN template tries to update the "Visibility" property for GitHub::Repositories::Repository with the current value, the update will fail. For example, if your repo visibility is already private and your template specifies Visibility: Private, the update operation will fail.
Proposed fix: the handler code should contain a check to see if the Visibility property value needs to be changed before trying to execute the update.
It would be useful to be able to add secrets to orgs and repos:
Thanks!
Hello,
We would like to use the GitHub::Repositories::Repository
resource on a repository that already exists so that we can make future changes from CloudFormation.
However, by doing so, we logically receive a 422 HTTP code (already exists).
Can we consider adding an option to authorize the import?
Either :
GitHub::Repositories::Repository
resourceThe second option seems preferable in order to avoid changing the properties of GitHub::Repositories::Repository
unnecessarily.
What do you think about it?
We'll be happy to help implement the feature if you think it's a good idea !
Hello, while trying to activate the extensions, we noticed that two of them are not published yet.
The following extensions are not published in Cloudformation:
Also the GitHub::Organizations::Secret README title is incorrect because at the moment it's the README title of GitHub::Repositories::Webhook
.
It would be nice if the GitHubAccess would not have to be part of the deployed template, but instead could be configured per-account.
I'm not sure how this would work with backward compatibility, but both as an example and for new users, this would be a better experience.
When changing the name of a repository, a new repository is created and the old one is deleted.
The expectation would be that only the name changes, while keeping its content.
Note that the "id" of the ressource remain the same.
Code:
new CfnRepository(this, `GithubRepositoryTestFromCdk`, {
name: 'test-from-cdk-rename, // Changing this value
organization: orgName,
});
The CDK diff output also suggest that only the name of the repository would change and there's no indication of replacement.
[~] GitHub::Repositories::Repository GithubRepositorytest-with-cdk GithubRepositorytestwithcdk
└─ [~] Name
├─ [-] test-from-cdk
└─ [+] test-from-cdk-rename
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.