Commit Graph

40 Commits

Author SHA1 Message Date
Nicolas Roche
eaaa145d10 Improve stack handling
* Add API support to query stack events
* Display events during stack creation, update and deletion
* Move wait operation into Stack
* Add support for dynamic data_dirs in CFNMain
* Add support for stack deletion in CFNMain
2021-02-11 11:34:55 +01:00
Nicolas Roche
18657801c4 Move e3.aws.Stack definition to e3.aws.troposphere.Stack
This avoid dependency on e3.aws.cfn in e3.aws module
2021-01-21 17:41:19 +01:00
Pierre Trespeuch
e9a53787d0 Define resources to run Fargate scheduled tasks
Add resources from AWS Elastic Container, Elastic Container Registry
and EventBrigde services that are needed to run Fargate scheduled tasks.

Part of TB06-027
2021-01-21 15:06:25 +01:00
Pierre Trespeuch
fef084e242 Add missing fields to iam Role construct
Add MaxSessionDuration and Tags fields.
2021-01-21 09:23:30 +01:00
Nicolas Roche
b970905f5d Remove ACL_Control setting from S3 Bucket.
ACL are not needed. Policy document provides finer control on
permissions.
2021-01-20 08:23:12 +01:00
Pierre Trespeuch
541ad0f0bc Add session method to run command with given role
This method makes it easier to run commands that need aws credentials.
One common use case is to call it with aws CLI commands.

Part of TC02-011
2021-01-15 15:52:33 +01:00
Pierre Trespeuch
b4ca5e1141 Consider empty change as warning instead of error
This allow pushing changesets for multiple stacks even if some do not
get updated.
2021-01-04 10:53:16 +01:00
Pierre Trespeuch
f0730382e7 Make managed policies depend on iam entities
Errors are raised when deploying cloudformation stacks if managed
policies are created before the iam entities they are attached too.
The DependsOn attribute force the iam entities to be created before
policies.
2021-01-04 09:44:01 +01:00
Pierre Trespeuch
620b2c8d7b Add multiple stacks handling to CFNMain
This provides a way to update multiple stacks with the same command
line.
2020-12-11 14:19:20 +01:00
Pierre Trespeuch
f2bad1d44c Make default Stack inherits from cfn.Stack
Stacks can now be used with CFNMain to handle deployement/update.
2020-12-10 12:41:54 +01:00
Pierre Trespeuch
da45922616 Add versioning_status argument to S3 buckets
versioning_status is set to true by default and enables multiple versions of all
objects in a bucket.
2020-12-02 11:26:04 +01:00
Pierre Trespeuch
3b0f8a2aec Add a troposphere module
This module provides helper classes to build an AWS CloudFormation stack
with troposphere and deploy it.
2020-11-20 10:20:28 +01:00
Cristian Ruiz
169724928a Fix default region behaviour 2020-10-19 09:55:59 +02:00
Nicolas Roche
11054edfc5 Review Security groups handling for private servers in Fortress.
* Remove unneed allow_github parameter in Fortress __init__.
* Delay computation of github and amazon groups
* Add ability to add additional custom groups
2020-09-29 23:41:18 -07:00
Olivier Ramonat
ef9d6efa25 Enable access to GitHub git repositories
Use api.github.com/meta to retrieve the list of ip ranges used
by GitHub to provide git access via ssh.

TN: T921-018
2020-09-28 14:00:30 +02:00
Olivier Ramonat
7732ddf502 Pass --no-wait in the push tests
TN: T622-032
2020-06-22 18:07:29 +02:00
Olivier Ramonat
bc2776d7ca Fix for latest version of coverage
This is a direct import from e3-core
2020-03-20 08:04:31 +01:00
Olivier Ramonat
293eeadf0b Use black to follow what's done on other e3-* repos 2020-03-20 08:04:31 +01:00
Nicolas Roche
fd24fb42db Adjust test for set_cfn_init 2019-08-14 17:36:54 +02:00
Olivier Ramonat
2d755e28b4 Add support for IAM User and Group
Also push changesets and new stack with CAPABILITY_NAMED_IAM
to allow creating named user.
2019-05-09 10:18:02 +02:00
Olivier Ramonat
c1e9a2218e Add support for CodeCommit Repository 2019-05-09 10:07:00 +02:00
Nicolas Roche
02e3ae367d Add support for external Network Interface (ENI) 2019-02-07 11:16:27 +01:00
Nicolas Roche
fcfe62e6d6 Update test 2018-08-16 14:49:46 +02:00
Nicolas Roche
294e18a32e add test for no bastion fortress 2018-07-11 19:57:32 +02:00
Nicolas Roche
bdbd6a27e5 Add test for EBSDisk 2018-06-25 12:43:04 +02:00