Giter Site home page Giter Site logo

Comments (4)

himsharma01 avatar himsharma01 commented on June 23, 2024 2

@roshbhatia I have looked into the issue and it is similar to one of the bug we have raised for our AWS Observability Solution[https://github.com/hashicorp/terraform-provider-aws/issues/23874] .

Problem Description

Update is failing due to a bug that “aws_serverlessapplicationrepository_cloudformation_stack” resource is not able to store values of "var.auto_enable_access_logs" (as specified in our code), on each subsequent terraform apply(s) , it detects it as change and creates a new stack-set. When the AWS API is called with a new stack-set it fails abruptly which causes the whole solution to fail while upgrading.

Alternate Approach

While we are waiting for the resolution of this issue, we have documented a work around as below:
In the file: https://github.com/SumoLogic/terraform-sumologic-sumo-logic-integrations/blob/master/aws/cloudwatchlogsforwarder/cloudwatchlogsforwarder.tf

Add the following code block in the
resource "aws_serverlessapplicationrepository_cloudformation_stack" "auto_enable_logs_subscription"

lifecycle { ignore_changes = [ parameters,tags ] }

Limitation

In the lifecycle section, we are ignoring changes in the parameter group for resource “aws_serverlessapplicationrepository_cloudformation_stack”, hence any further update to this parameter group will be ignored and respective changes cannot be made to auto-enable code.

from terraform-sumologic-sumo-logic-integrations.

himsharma01 avatar himsharma01 commented on June 23, 2024 1

Hey @roshbhatia , I'm looking at the issue. Please allow us sometime to investigate.

from terraform-sumologic-sumo-logic-integrations.

himsharma01 avatar himsharma01 commented on June 23, 2024 1

@roshbhatia I'm closing this issue. Feel free to comment/re-open for any issues.
Thanks

from terraform-sumologic-sumo-logic-integrations.

axelwass avatar axelwass commented on June 23, 2024

Im stil getting this issue. Would rather have a variable that enables the ignore changes.

from terraform-sumologic-sumo-logic-integrations.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.