Hector Rivas Gandara
0c49b17f72
provider/aws: codecommit check default_branch before update
...
In AWS codecommit the default branch must have a value unless there are
no branches created, in which case it is not possible to set it to any value.
We query the existing branches and do not update the default branch
if there are none defined remotely.
This solves the issue of the initial creation of the repository with a
resource with `default_branch` defined.
2016-03-30 16:40:41 +01:00
Hector Rivas Gandara
1afd3a53b2
provider/aws: codecommit set default_branch only if defined
...
Do not try to update or reaad the AWS codecommit repository default branch if
the resource definition is not set it or is an empty string.
Fixes #5641
2016-03-30 16:40:37 +01:00
Paul Hinze
5b78a9f635
provider/aws: var name tweak
...
as discussed in #3274 w/ @stack72
2015-10-30 17:50:57 -05:00
stack72
14604e432e
Added the documentation for the CodeCommit repository
2015-10-30 21:39:16 +00:00
stack72
2ad006ab50
Currently, AWS CodeCommit is only available in us-east-1, therefore we
...
need to error out early if the region is anything other than this
Also added a test that will show that changes get applied on subsequent
runs
2015-10-30 21:39:16 +00:00
stack72
d9fd77c141
Finishing the last of the CodeCommit Repository resource. Also started to add some tests. The trouble for me right now is that CodeCommit is only in US-East-1 so I need to guard against that right now
2015-10-30 21:39:16 +00:00
stack72
89ce6f7c83
Started the work for the AWS CodeCommit Repository resource
...
Starting to add the skeleton for the creation and update of a repository
2015-10-30 21:39:04 +00:00