Git Product home page Git Product logo

Comments (3)

tgummerer avatar tgummerer commented on August 27, 2024

From the docs for mfa_delete: "This cannot be used to toggle this setting but is available to allow managed buckets to reflect the state in AWS"

So I believe this setting should be set in the AWS console, rather than through pulumi. I'm not sure why it would flip-flow without a pulumi up in between those pulumi preview --diffs. Are you running any commands in between running pulumi preview --diff?

Regarding the error, either you need to use 2fa credentials for running the pulumi command, or disable the setting in the AWS console.

from pulumi-aws.

justinvp avatar justinvp commented on August 27, 2024

Moving this to the aws provider repo for further triage.

from pulumi-aws.

flostadler avatar flostadler commented on August 27, 2024

Hey, @tgummerer is correct that the mfaDelete property cannot be used currently for toggling this setting, rather just for keeping the pulumi state in sync with AWS.

Enabling MFA delete itself requires using an MFA token, which the provider currently doesn't support. This comment here goes into more details explaining the background: hashicorp/terraform-provider-aws#629 (comment)

from pulumi-aws.

Related Issues (20)

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.