question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Alternative to DM Actions

See original GitHub issue

Hi, Currently I use an action to add an instance to an instance group. Since actions are not supported in DM anymore, how can I accomplish the same result in DM itself?

        resources.append({
            'name': resource_name,
            'action': 'gcp-types/compute-v1:compute.instanceGroups.addInstances',
            'properties': {
                'instanceGroup': instance_group_names['instancegroup1'],
                'zone': vm1_zone,
                'instances': [
                    {
                        'instance': '$(ref.' + vm1_name + '.selfLink)'
                    }
                ]
            }
        })

Thanks!

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:4
  • Comments:15 (4 by maintainers)

github_iconTop GitHub Comments

7reactions
roman-parkhunovskyi-spcommented, Dec 22, 2020

My apology, but has this been communicated in any ways? Neither DM release notes state anything, nor I had received any emails about this change or advised for a replacement solution. The examples you just had and which were incorporated were just cut out and this became a fact which I’ve noticed only during the regular deployment in production. At minimum, this is not serious if not irresponsible all.

2reactions
taraslayshchukcommented, Dec 23, 2020

@sangram-pawar Let’s imagine I didn’t deploy any changes for the last 2 weeks, can it be a case? I have never had such issues with AWS, they always keep me up to date about API changes on their side and not only via release notes but via personal email as well. They track which resources I use in my account and sincerely ask me to take steps long before the changes take place. Here are a few examples from AWS:

Hello,

Please act before October 31, 2019 to address an upcoming interruption of your applications using RDS and Aurora database instances.

To protect your communications with RDS database instances, a Certificate Authority (CA) generates time-bound certificates that are checked by your database client software to authenticate any RDS database instance(s) before exchanging information. Following industry best practices, AWS renews the CA and creates new certificates on a routine basis to ensure RDS customer connections are properly protected for years to come. The current CA expires on March 5, 2020, requiring updates to existing RDS database instances with certificates referencing the current CA.

You are receiving this message because you have an Amazon RDS database instance(s) in the US-EAST-1 or US-EAST-2 Region(s). If your applications connect to those instances using the Secure Sockets Layer (SSL) or Transport Layer Security (TLS) protocol please follow the detailed instructions in the link below to complete your update(s). If not completed, your applications will fail to connect to your DB instances using SSL/TLS after March 5, 2020.

We encourage you to test these steps within a development or staging environment before implementing them in your production environments. Beginning today, you can start testing and updating your existing RDS database instances. For detailed instructions, please visit: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.SSL-certificate-rotation.html

Any new RDS instances created after November 1, 2019 will default to using the new certificates. If you wish to temporarily modify new instances manually to use the old (rds-ca-2015) certificates, you can do so using the AWS console or the AWS CLI. Any instances created prior to November 1, 2019 will have the rds-ca-2015 certificates until you update them to the rds-ca-2019 version.

If you have questions or issues, please contact AWS Support at: https://aws.amazon.com/support

Sincerely, Amazon Web Services

Amazon Web Services, Inc. is a subsidiary of Amazon.com, Inc. Amazon.com is a registered trademark of Amazon.com, Inc. This message was produced and distributed by Amazon Web Services Inc., 410 Terry Ave. North, Seattle, WA 98109-5210

Hello, On April 4, we announced via a Developer Forum post, that CloudFront will deprecate the oldest versions of the CloudFront API, specifically those dated prior to 2016, on Thursday, June 6, 2019. As CloudFront has evolved, new features and concepts (such as origin groups and support for SNI certificates) have been introduced that can’t be represented in the older APIs. To improve overall support and consistency for CloudFront developers we’re reducing the number of API versions we need to maintain. Beginning on June 6, 2019 the listed versions of the CloudFront APIs will stop working and will instead return a “410: Gone” response code. To prevent disruption to any calling applications, we recommend that you upgrade applications that invoke these APIs as quickly as possible. If you have questions about this notice, please contact AWS Support. For information about the current CloudFront API, see the CloudFront API Reference: https://docs.aws.amazon.com/cloudfront/latest/APIReference/Welcome.html Full list of versions to be deprecated on June 6, 2019: 2008-06-30, 2009-04-02, 2009-09-09, 2009-12-01, 2010-03-01, 2010-05-01, 2010-06-01, 2010-07-15, 2010-08-01, 2010-11-01, 2012-03-15, 2012-05-05, 2012-07-01, 2013-05-12, 2013-08-26, 2013-09-27, 2013-11-11, 2013-11-22, 2014-01-31, 2014-05-31, 2014-08-31, 2014-10-21, 2014-11-06, 2015-04-17, 2015-07-27, 2015-09-17, 2015-12-22 For more information regarding this deprecation and the actions you should take, refer to our Developer Forum post here: https://forums.aws.amazon.com/ann.jspa?annID=669

CC: @andrei-scripniciuc

Read more comments on GitHub >

github_iconTop Results From Across the Web

[WSIG] Something similar to D&D, but without a DM - Reddit
Basically I'd like to get started playing D&D or Pathfinder, but I don't know anybody who can DM or teach me how to...
Read more >
D&D 5E - Any good alternatives to "How do you want to do this"?
I prefer to stick to the play loop which has the DM narrating the result of the adventurers' actions. Asking the player to...
Read more >
5 Alternatives to Experience Points - DM Tips! - YouTube
This week, I discuss alternatives to the classic player rewards - Gold, XP and Magic items. Let me know in the comments what...
Read more >
Roll for Initiative… or Don't – Alternative Approaches to Initiative
When the DM say this you know something big is about to happen. ... However, it's not the only way to determine the...
Read more >
What action did your character take, during a D&D game, that ...
Action singular? Can I do actions plural? 1. Evil Campaign v1 AD&D 3.5- Made a born NE ... A quirk I gave her...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found