Touchdown

Latest version: v0.15.16

Safety actively analyzes 628918 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 8 of 13

0.4.0

------------------

For end users:

- This release begins to add support for AWS API Gateway. You can create a Rest
API and attach resources, models, stages, methods and deployments.

- This release begins to add support for AWS Lambda. You can define a callable
inline in your `Touchdownfile` and have Touchdown manage synchronising it to
Amazon.

- Touchdown can now configure an SNS Topic to invoke a lambda function.

- Touchdown can now configure S3 notifications to lambda (however filtering is
not yet supported).

- Lambda permissions are supported and can be managed manually, but S3 will
automatically be granted suitable access when using bucket notifications.

- Network ACL's are now updated by replacement. Rather than syncing the order
of the rules, we just create an entirely new ACL and switch subnets to use it.
This avoids hitting API limits when an ACL with a large number of rules has
to be reordered. It also makes it easier to switch back to an older ACL if
something goes wrong with the deployment (as the previous ACL is still
available).

For developers:

- There is now a `clean` hook on resources. This allows parameters to be
massaged before any validation is performed. This is currently used in
Network ACL's and allows:

* Creation of a port range from an integer:

vpc.add_network_acl(
name='test-acl',
inbound=[dict(
network='10.0.0.0/20',
protocol='tcp',
port=25,
)],
)

* Or by specifying a start and end of a range:

vpc.add_network_acl(
name='test-acl',
inbound=[dict(
network='10.0.0.0/20',
protocol='tcp',
port__start=8080,
port__end=8090,
)],
)

- There is a `can_delete` hook for destroyable AWS resources so that resources
can exclude themsevles from the destroy process.

- The diffing mechanism has been improved and can now recurse into
subresources.

- There are now read-only arguments that calculate their value or return a
serializer. This allows resources to expose an `arn` parameter consistently.

This release has been tested with `botocore==1.3.12`.

0.3.3

------------------

- Add a timestamp to `touchdown tail foo.log`.

0.3.2

------------------

- Fix CloudFront for new versions of botocore. In the process we now support
setting the `default_ttl` and `max_ttl`.

- SSH connections will retry more, to give instances time to fully boot.

- Fix ASG SSH behavior. It was supposed to choose a random instance, but was
actually always picking the first instance.

- Improve Windows support: Avoid using `progressbar2` on Windows. It blows up
if `signals.SIGWINCH` is not available.

- Add some helpers to resources to help with serializer common cases. For example::

foo = aws.add_distribution(....)
bar = foo.identifier()

Now `bar` is `serializers.Identifier` that is bound to `foo`.

0.3.1

------------------

- Unicode handling fixes in output handlers.

0.3.0

------------------

- Support for notifying NewRelic after a deployment.

- Avoid trying to SSH into terminating instances after an ASG rotation.

- Fix progress bar newline glitches introduced by progressbar2 3.0.

0.2.0

------------------

- Add a new ``touchdown ssh`` and ``touchdown scp`` commands.

- Change how SSH connection to an ASG is achieved (allows private ip addresses
to be used when on same network, even when using ``.get_auto_scaling_group``.

- The names of resources used when building AMI's are now randomised (which
should enable parallelism).

- Now uses ``botocore>=1.2.10`` and ``progressbar2>=3.0``.

Page 8 of 13

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.